General Cloud Flashcards
What are contained in regions?
AZs (Availability Zone), each of which contain 1+ data centers
What is IAM?
Identity and Access Management, organizes users into groups, assigns policies (JSON) to users/groups
What is an EC2 security group?
A firewall. Many to many w/ EC2 instances.
What is EBS?
Network drive attached to 1 EC2 instance at a time.
What’s the relationship between EC2 instances and EBS volumes?
An EC2 instance can have multiple EBS volumes, but and EBS volume can only attach to 1 EC2 instance.
What is CloudFormation?
Infrastructure as code. Code your insrastructure design and AWS will change your config to match it.
What is CloudFormation Stack Designer?
Creates diagrams for CloudFormation configurations
What is CDK?
Cloud Development Kit. Write CloudFormation configuration in other programming languages. They are compiled to yaml/json.
What is Elastic Beanstalk?
Automatically creates/depoys a cloudformation config for your app as single instance (test env), ASG (batch) or LB + ASG (prod web)
What kind of monitoring comes with Elastic Beanstalk?
Pushes app health info to CloudWatch
What is CodeDeploy?
Can deploy new versions of your applications. Does not use CloudFormation. Works with EC2 instances or on-prem servers.
What is CodeDeploy Agent?
Allows you to provision on-prem servers or EC2 instances for use by CodeDeploy.
What is CodeCommit?
Amazon’s GitHub. Private integrated w/ AWS services.
What is CodeBuild?
Pulls code from Git and runs build script.
What is CodePipeline?
Link together AWS and 3rd party build services.
What is CodeArtifact?
Artifact management system (Library repo, maven deps)
What is CodeStar?
Dashboard. Unified UI to create build pipeline.
What is Cloud9?
Cloud IDE.
What is SSM?
Systems Manager. Manage EC2 and on-prem systems at scale. Hybrid service. eg. patching automation. SSM agent installed on each server, which allows it to be patched by AWS’ service. Installed by default on Linux and Ubuntu AMI.
What is SSM Session Manager?
Can SSH into your EC2 instance w/o opening port 22
OpsWorks
Managed Chef & Puppet to perform server configuation or repetitive actions.
Which can be used to monitor and check the health of an environment: CodeStar or Beanstalk?
Beanstalk.
Is Beanstalk Iaas, Paas or Saas?
Paas
What does cloudformation us to describe AWS resources.
JSON or YAML templates
Are CloudFormation and Beanstalk free?
Yes, but you have to pay for the underlying resources (eg. EC2 instances)
What are global services?
Services that allow your app to be available globally. Route 53, CDN (Content Delivery Network), S3 Transfer Acceleration, Global Accelerator.
What is Route 53?
Managed DNS (global service)
What is a weighted routing policy in Route 53?
DNS will point certain percentages of traffic distributed across several IPs. Health checks ensure hosts are available.
What is latency routing policy in Route 53?
resolved name to IP that will have lowest latency based on user’s location.
What is a failover routing policy in Route 53?
Will route to a primary host until a health check fails, then will switch to failover host.
What service do you use to register a domain name?
Route 53
What is CloudFront?
A CDN. Served from edge locations. Can cache from S3 or any custom http end point.
CloudFront vs S3 Cross Region Replication
global edge network // have to setup for each region
files are cache for a // files updated in real time
time (eg. a day)
for static content // dynamic content, fewer regions
cloning whole bucket across rgns
What is S3 Transfer Acceleration?
S3 buckets are linked to 1 region. This speed up transfer from other regions to an S3 bucket in a different region. Instead of tranferring over the internet, it’s transferred through the internet to the closest edge location, then over amazon’s network to the othe region.
What is the Global Accelerator?
Accelerates traffic to your load balancer from other regions by going through the internet only to the closest edge location and using AWS network for the rest.
What is the difference between Global Accelerator and CloudFront?
CloudFront delivers cached static content, Global Accelerator is for dynamic data.
What are AWS outposts?
Server racks that offer the same infrastructure/services as AWS for on-prem.
What is WaveLength?
Some AWS services available on the edge of 5G networks. Low latency over 5G. Free. Use cases, real-time gaming, video streaming, etc.
What are Local Zones?
Extends your AWS region to more locations to get your services closer to end users and reduce latency.
What is WAF?
Web Application Firewall
What is Shield?
Protects against DDoS.
How does cloudfront protect against web attacks?
WAF & Shield
What is asynchronous or event based communication between applications?
Messages from app A are put in a queue for app B to pick up.
What is SQS?
Standard Queue. Model for decoupling applications (messages queued up). Older than SNS. Processors split messages between them.