AWS Cloud Developer: Networking and Elasticity Flashcards
Networking
Networks reliably carry loads of data around the globe allowing for the delivery of content and applications with high availability. The network is the foundation of your infrastructure.
Cloud networking includes:
network architecture network connectivity application delivery global performance delivery
IP
Internet Protocol
an IP address is assigned to each device connected to the internet
Domain name entered into Browser - DNS asks Domain authority for the IP address the name is registered to - user is routed to address
DNS
Domain Name server
Domain Authority
The service the domain name was registered with
Cloud Connectivity
Include services that offer reliable and cost-effective ways that route end users to internet application
Route 53
Route 53 is a cloud domain name system (DNS) service that has servers distributed around the globe used to translates human-readable names like www.google.com into the numeric IP addresses like 74.125.21.147.
Why are DNS health checks essential?
Ensure availability of web servers and provides DNS failover which routes traffic to alternate locations preventing outages
What are the features of AWS Route 53
scales automatically to manage spikes in DNS queries
allows you to register a domain name (or manage an existing)
routes internet traffic to the resources for your domain
checks the health of your resources
Route 53 allows you to route users based on the user’s geographic location.
How to scale vertically
Stop the instance and resize it by increasing RAM, Storage, CPU, IO
EC2 Autoscaling
EC2 Auto Scaling is a service that monitors your EC2 instances and automatically adjusts by adding or removing EC2 instances based on conditions you define in order to maintain application availability and provide peak performance to your users.
Automatically scale in and out based on needs.
Included automatically with Amazon EC2.
Automate how your Amazon EC2 instances are managed.
How does EC2 Autoscaling work with Amazon Messaging service
Can be integrated with Messaging service to:
- alert you when Instances are launching or terminating
- provide you with information about the instance that is being launched or terminated
Benefits of EC2 autoscaling
IMPROVE FAULT TOLERANCE
Amazon EC2 Auto Scaling can detect when an instance is unhealthy, terminate it, and replace it with a new one.
INCREASE APPLICATION AVAILABILITY
Amazon EC2 Auto Scaling ensures that your application always has the right amount of compute, and also proactively provisions capacity with Predictive Scaling.
LOWER COSTS
Amazon EC2 Auto Scaling adds instances only when needed, and can scale across purchase options to optimize performance and cost.
Elastic Load Balancing
Elastic Load Balancing automatically distributes incoming application traffic across multiple servers.
What services does Elastic Load Balancing work with
Elastic Load Balancing works with EC2 Instances, containers, IP addresses, and Lambda functions.
Main benefit of Elastic Load Balancing
Provides redundancy and performance
How does Elastic Load Balancing improve Redundancy
If you lose a server, the load balancer will send requests to other working servers. This feature maintains continuous operations in an emergency
How does Elastic Load Balancing improve performance
If a server starts having issues or bottlenecks, the load balancer will add more servers to the pool of available servers. Auto-scaling automatically adjusts the capacity to maintain a steady state.
Application Load Balancer
Application Load Balancer is best suited for load balancing of HTTP and HTTPS traffic and provides advanced request routing targeted at the delivery of modern application architectures, including microservices and containers. Application Load Balancer routes traffic to targets within Amazon VPC based on the content of the request.
Network Load Balancer
Network Load Balancer is best suited for load balancing of Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and Transport Layer Security (TLS) traffic where extreme performance is required. Network Load Balancer routes traffic to targets within Amazon VPC and is capable of handling millions of requests per second while maintaining ultra-low latencies.
Gateway Load Balancer
Gateway Load Balancer makes it easy to deploy, scale, and run third-party virtual networking appliances. Providing load balancing and auto scaling for fleets of third-party appliances, Gateway Load Balancer is transparent to the source and destination of traffic. This capability makes it well suited for working with third-party appliances for security, network analytics, and other use cases.
Classic Load Balancer
Classic Load Balancer provides basic load balancing across multiple Amazon EC2 instances and operates at both the request level and the connection level. Classic Load Balancer is intended for applications that were built within the EC2-Classic network.
Launch template
Definition: A Launch template specifies instance configuration information, such as, AMI ID, the instance type, a key pair, security groups, and the other parameters that you use to launch EC2 instances.