DevOps Professional Flashcards
(241 cards)
SQS: List of operations
AddPermission ChangeMessageVisibility ChangeMessageVisibilityBatch CreateQueue DeleteMessage DeleteMessageBatch DeleteQueue GetQueueAttributes GetQueueUrl ListDeadLetterSourceQueues ListQueues ListQueueTags PurgeQueue ReceiveMessage RemovePermission SendMessage SendMessageBatch SetQueueAttributes TagQueue UntagQueue
Can the cloudwatch agent monitor memory now?
Yes
RDS Cross Region Replication Requirements
PostgresSQL 9.5.2 and above
PostgreSQL 9.4.7 and above
Elasticache: Memcached Cluster configurations
Memcached clusters contain from 1 to 20 nodes across which you horizontally partition your data.
Elasticacahe: Redis Cluster configurations
Elasticache: Redis Cluster Configurations
- No Replication (Single Node)
- Cluster Mode Disabled (Replicated, no Sharding/Partioning)
- Cluster Mode Enabled (Replicated with Sharding/Partitioning).
RDS Single AZ IO Interruption
In a single AZ RDS Deployment there is an IO interruption on creating
* Read Replicas
* Snapshot Creation
& Automated Backups
In a multi AZ deployment these operations are performed against the secondary instead.
ELB: Sticky Sessions
Use an AWSALB Cookie.
Load Balancer Generated
Can’t be modified by applications.
Stickiness is configured at a target group level.
EC2: Metrics that need an agent
Swap Space
Disk Space
Memory Used
& Others
Cloudwatch: Alarm statuses
OK
ALARM
INSUFFICIENT_DATA
EC2: Status Check Types
System: Monitor the AWS systems on which your instance runs.
Instance: Monitor the software and network configuration of your individual instance.
VPC: AWS IP Reservations
. AWS reserves the first 4 IP & the last IP addresses.
. In a 10.0.0.0/24, the following IPs are reserved:
10.0.0.0: network address
10.0.0.1: Reserved by AWS for the AWS VPC router
10.0.0.2: Reserved by AWS. IP address of the DNS server
is always the base of the AWS VPC network range.
However, the base if each subnet range is also reserved
10.0.0.3: Reserved by AWS for future use
10.0.0.255: Network braodcast address.
AWS does NOT support any broadcase in an AWS VPC.
Therefore, they reserved the addess
AWS Personal Health Dashboard
https://phd.aws.amazon.come
. Provide Alerts & remedation guidance
when AWS is experiencing issues that
might impact customers
. Shows a personalized view of the
performance & availability of the
AWS services underlying your
provisioned AWS resources
EC2: Initialising Volumes
When restoring a volume from a snapshot, maximum volume performance is not achieved until all blocks on the device have been read.
Tools for this:
isblk
db
fio
sudo dd if=/dev/nvme2n1 of=/dev/null bs=1M
sudo yum install -y fio
sudo fio –filename=/dev/nvme2n1 –rw=read –bs=128k –iodepth=32 –ioengine=libaio –direct=1 –name=volume-initialize
AWS Inspector: Capabilities
- Security Best Practice
- Runtime behavior analysis
- Common vulnerability/exposure
- CIS Security Config Benchmark
Direct Connect: Requirements
. requires single-mode fiber
. 1GB: 1000Base-LX (1310nm)
. 10GB: 10GBase-LR (1310nm)
EBS: Ensuring Durability
. By default, instance store & EBS ROOT volumes are not backed up
. Will not persist upon termination
. cannot stop instance store volumes,
so termination is the only option
. This is why EBS volumes are recommended
. How do we save the data on a root volume?
1/ uncheck “Delete on Termination” in the console
. Also a CLI parameter with run-instances
2/ Create a snapshot before deletion
3/ Create a seperate volume & attach to the instance
. Attached volumes persist when the instance is terminated
EBS Metrics: Status Check
. Tests run every 5 minutes
. Returns: OK, warning, impaired, insufficient data
. User can change the result of the impaired response
ELB: SSL Offloading
. In a highly available web application, we use
load balancers to distribute traffic.
. Can also use load balancers’ elasticity & scalability
in HTTPS/SSL process
. Can improve the performace of the instances/applications by
off loading SLL process (encrytion/decryption) to load balancers
. Certifcate Manager also intergrates for certifiate generation & management. . AWS will create alias for certificate . point to target group . use web security group
NOTE:
IN ROUTE 53 (after create certificate for SSL, etc.)
. need to use “naked” domain name
(NO www in front of domain name)
. Then, point “alias” to the load balancer
SNS: Definition
Simple Notification Service
Push model (as supposed to SQS Pull model). Create topics, messages sent to the topic is pushed out to all subscribers to that topic.
SNS: Protocols
HTTP HTTPS Email Email-json Lambda SQS Application Platform SMS
Systems Manaager: Description
AWS Systems Manager is a management service that helps you automatically collect software inventory, apply operating system patches, create system images, and configure Windows and Linux operating systems. Systems Manager can be used for both EC2 instances, on-premises servers, and VMs. These capabilities help you define and track system configurations, prevent drift, and maintain software compliance of your EC2 and on-premises configurations.
Lambda vs EC2: Use Cases
Use Lambda when you want to run code
that is in response to events, such as
1/ changes to S3 buckets 2/ Messages in SQS queues 3/ Update to DynamoDB tables 4/ Cloudwatch Alarms 5/ Customed events generated by your applications or devices
Systems Manager: Patch Manager
.automate the process of patching managed instances with both security-related & other types of updates. You can use Patch Manager to apply patches for both OS & applications.
EC2: Hardware Virtualised Machines (hvm)
a/ Execute the master boot record of the root storage device b/ Virtual hardware set allows for running an OS as if it were run on bare metal. The OS doesn't know it's virtualized c/ No modification needed d/ Can use hardware extensions provide fast access to host hardware enhanced networking and CPU processing