High Availability Flashcards
AWS Regions
physical locations around the world where Amazon clusters data centers for application and service delivery in AWS Availability Zones. Regions also provide extensions for other delivery options, such as AWS Local Zones.
Availability Zones
Single data center or group of data centers within a region. Located tens of miles apart from each other
Close enough to have low-latency, but if a disaster occurs, they are distant enough to reduce the chance that multiple availability zones are affected
Redundantly deploy in two different regions
Edge Locations
CDN: content delivery networks
Stores cached copies of your content somewhere where regions aren’t available
Amazon CloudFront
Helps deliver data to customers around the world
Uses edge locations to help accelerate communication no matter where customers are
Push content from regions to edge locations
How to provision AWS Resources
Everything is an API call
(application programming interface)
Invoke these APIs to provision, configure and manage resources
Launch an instance or create a function via APIs
AWS Management Console, Command Line Interface (CLI), Software Development Kits (SDK), various other tools
AWS Management Console
A web-based interface for accessing and managing AWS services
Includes wizards and automated workflows that can simplify the process of completing tasks
Good for dev environments, but is a very manual process
AWS Command Line Interface (CLI)
Make API calls using the terminal on your machine
Makes actions scriptable and repeatable
Can run on a schedule or trigger by other process
AWS Software Development Kits (SDKs)
Interact with AWS resources through various programming languages
Developers can create programs that use AWS without using the low-level APIs
AWS Elastic Beanstalk
Provision Amazon EC2 based instances
Provide application code and desired configurations to service that then builds out environment for you
Can save env configurations to be deployed again easily
AWS CloudFormation
Infrastructure as code tool used to define wide variety of AWS resources using JSON or YAML docs called CloudFormation templates
Can define what you want to build without specifying details on how
Provisions resources in a safe, repeatable manner