AWS Flashcards
AWS SDKs Languages
Java Script, Python, PhP, Ruby, Go, C++, Java
What does AWS CLI stand for?
Command Language Interface
What are the benefits of using Amazon EC2 instances compared to a physical servers in your infrastructure?
- Pay only for the capacity you use.
2. The ability to have different storage requirements
What does AS3 stand for?
Amazon Storage Service
What is AS3?
- Managed cloud storage service
- Store virtually unlimited number of objects
a. Objects can be any data type I.e. snapshots - Access any time, from anywhere
- Rich Security controls
Describe the object in S3
Key -> Object -> My_bucket_name
- When the object/file is stored in an AS3 bucket, the file is stored in multiple regions/multiple facility. This ehlps ensure that if one facility goes down, you still have the file saved and retrievable.
- S3 - scalable and billed for what you use
How can you access S3?
- AWS management console
- aws cli
- aws SDK.
- Can also access through a link which therefore means the bucket needs to be a globally unique name
ie. https://awsexamplebucket/s3-us-west-2.amazonaws.com/docs/hello.txt
awsexamplebucket - unique bucket name
s3-us-west-2 - region
docs/hello.txt - object key
S3 Common Use Cases
- Storing application assets
- static web hosting
- durable - backup & disaster recovery
- scalable - staging area for big data
- many more
AWS Global Infrastructure Region Zones
Deploy resources , you pick the region or multiple regions to gain experience globally.
Regions are separate entities from other regions. Therefore they might not share the same services and resources.
AWS Global Infrastructure - Availability zones
Collection of data centers in a region
Supplied by different grids from utility grids
Isolating the availability zones creates productivity
AWS Global Infrastructure - Edge Location
Amazon Cloud Front - Provides content to the users
Which components of the AWS infrastructure can be described as multiple, isolated locations within one geographic area?
Availability zones
Amazon Virtual Private Cloud (VPC)
- private, virtual network in the aws cloud
- Allows complete control of network configuration
a. ability to isolate and expose resources inside vpc - Offers several layers of security controls
a. ability to allow and deny specific internet and internal traffic - other aws services deploy into VPC
a. services inherent security built into network
What does AWS Security Groups do?
Security groups act as a firewall and provides control what traffic is allowed and denied. Such as keeping a n instance private or public.
Where do you create the security group in the aws console?
Under EC2 Security Groups
Which of the following statements is true of Amazon VPC?
A. A vpc acts as a physical firewall for your cloud infrastructure.
B. You can create many subnets in a VPC though fewer is recommended to limit complexity
C. Each VPC is a private, dedicated network connection from your premises to AWS
D. Each AWS account can have only one VPC associated with it
B. You can create many subnets in a VPC though fewer is recommended to limit complexity
What is the load balancer?
Second type of load balancer service to allow for elasticity and enhancements
What are enhance features of Load Balancer?
- Supported Protocols
a. HTTP, HTTPS, HTTP/2, WebSockets - CloudWatch Metrics
a. Additional load balance metrics and target group metric dimension - Access Logs
a. ability to see connection details for WebSocket connections - Health Checks
a. Insight into target and application health at more granular level.
Why use the application load balancer?
Ability to use containers to host your micro-services and route to those applications from a single load application.
What are Listeners?
A listener is a process that checks for connection requests, using the protocol and port that you configure. The rules that you define for a listener determine how the load balancer routes requests to the targets in one or more target groups.
What is a Target?
A target is a destination for traffic based on the established listener rules.
What is a target group?
Each target group routes requests to one or more registered targets using the protocol and port number specified. A target can be registered with multiple target groups. Health checks can be configured on a per target group basis.
What is Auto Scaling?
Helps you ensure the correct number of Amazon EC2 instances available to handle the load for your application.
Autoscaling can adjust the number of EC2 instances based on conditions you define such as a schedule.
Scalable
How can I ensure that my workload has enough EC2 resources to meet fluctuating performance requirements?
Automation
How can I automate EC2 resources provisioning to occur on-demand?
What is scaling out versus scaling in?
Scaling out adds more EC2 instances and scaling in removes/terminates EC2 instances.
How do you AutoScale?
- Launch Configuration
- Auto Scaling Group
- Auto Scaling Policy
What is Launch Configuration?
Defining what will be launched by autoscaling.
AMI, Instance Type, security Groups, Roles
What is Auto Scaling Group?
Defining WHERE deployment takes place and creating boundaries for the deployment.
VPC and subnet(s), Load Balancer, Minimum instances, maximum instances, desired capacity.
What is Scaling Policy?
Specifying when to schedule to activate or terminate instances. Create a schedule time and date or threshold for instances activity.
Scheduled, On-Demand, Scale-Out policy, Scale-in policy
What is Route 53?
Domain Registration, multiple routing algorithms,
You have an application composed of individual services. you need to route a request to a service based on the content of the request. Which service should you use?
A. Elastic Load Balancing
B. EC2 Auto Scaling
C. AWS CloudTrail
D. Amazon Route 53
A. Elastic Load Balancing