Amazon Elastic Compute Cloud (EC2)
Provides secure, resizable compute capacity in the cloud.
General Purpose EC2 Instance
Provides a balance of compute, memory, and networking resources.
-Can be used for application servers, gaming servers, backend servers for enterprise applications, and small & medium databases.
Compute Optimized EC2 Instance
Ideal for compute-bound applications that benefit from high-performance processes.
-Used for workloads such as web, application, and gaming servers.
Memory Optimized EC2 Instance
Designed to deliver fast performance for workloads that process large datasets in memory.
Accelerated Computing EC2 Instance
Use hardware accelerators, or compressors, to perform some functions more efficiently than is possible in software running on CPUs.
Storage Optimized EC2 Instance
Designed for workloads that require high, sequential read and write access to large datasets on local storage.
-Used for distributed file systems, data warehousing applications, and high-frequency OLTP systems.
On-Demand Instance EC2 Pricing
Savings Plans EC2 Pricing
Reserved Instances EC2 Pricing
Billing discount applied to the use of On-Demand Instances.
Spot Instances EC2 Pricing
Dedicated Hosts
Physical servers with Amazon EC2 instance capacity that is fully dedicated to your use.
Scalability
Involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in.
-You pay for only the resources you use.
Amazon EC2 Auto Scaling
Enables you to automatically add or remove Amazon EC2 instances in response to changing application demand.
Demand Scaling
Responds to changing demand.
Predictive Scaling
Automatically schedules the right number of Amazon EC2 instances based on predicted demand.
Minimum Capacity
The number of Amazon EC2 instances that launch immediately after you have created the Auto Scaling group.
Elastic Load Balancing
Monolithic Application
- If a single component fails, other components fail, and possibly the entire application fails.
Microservices Approach
- If a single component fails, the other components continue to work because they are communicating with each other.
Amazon Simple Notification Service (Amazon SNS)
- A publisher publishes messages to subscribers.
Amazon Simple Queue Service (Amazon SQS)
Serverless
The code runs on services but the servers do not need to be provisioned or managed.
AWS Lambda
Containers
Provide a standard way to package the application’s code and dependencies into a single object.