AWS SAA-C03 - Compute

Posted by monikma, 17 April 2024.
Architecture AWS Cloud
Preparation for certification

Those are the notes I took during the Cloud Guru AWS Certified Solutions Architect - Associate (SAA-C03) course. Note that the course content changes as the AWS changes. The notes are from March-May 2024.

This section is about AWS Compute.

Table of contents

EC2 booting: OS, user data, application On-Demand Reserved 1-3 years Reserved regional Reserved convertible/scheduled Spot Spot 2 minutes to stop Spot Request, one-time/persistent Spot Fleet (mixed) Dedicated Hosts, reserved/on-demand SSH=22, HTTPS=443 Security Group: inbound blocked outbound open Security Groups many-to-many, most permissive wins EC2 Metadata EC2 Hibernation, <60 days, <150 RAM EC2 Amazon Machine Image (AMI) region based EBS Instance Store - ephemeral storage EC2 Launch Templates Instance Profile when IAM role ENI, EN (high performance), EFA Networking (ML, OS-bypass) cards EC2 Placement Groups: Cluster, Spread, Partition (Cassandra) EC2 Hibernation, <60 days, <150 RAM Auto Scaling Groups EC2 Networking Elastic Network Interface (ENI) Enhanced Networking (EN), Single Root I/O Virtualization (SR-IOV), high performance Elastic Fabric Adapter (EFA), OS-bypass, e.g. HPC, ML) cards EC2 Placement Groups Cluster, single AZ Spread, separate hardware Partition, racks separate, e.g. Cassandra can move stopped instance only some are compatible Systems Manager (SSM) EC2 Practical Launching EC2 instance AWS CLI Configuring Instance Profile in EC2 CLI/AWS Console Bootstraping EC2 servers Installing Wordpress VMWare on EC2 vCenter hybrid cloud disaster recovery AWS migration cherry pick AWS services dedicated hardware single account 512 RAM 15 TB storage 2-16 hosts per cluster AWS Outposts AWS in private datacenter hybrid cloud <96 server units Outpost Rack (has servers), for datacenter Outpost Servers AWS staff visits

Elastic Compute Cloud (EC2)

EC2 Pricing Options

Name Description Use case
On-Demand Pay per hour/second Just starting a project, checking out, short time, flexible
Reserved Reserved capacity for 1-3 years, <72% cheaper When you understand your usage patterns, and you have money
Reserved - convertible Can switch to a different RI of equal or better value, only <54% cheaper  
Reserved - scheduled Switch to a different RI on schedule  
Spot Purchase unused capacity, <90% cheaper but fluctuates  
Dedicated Hosts Physical EC2 Server just for you, most expensive  

EC2 Amazon Machine Image (AMI)

Auto Scaling Groups

Auto Scaling Policies

EC2 Launch templates

EC2 IAM Roles

EC2 Security Groups

EC2 Metadata

EC2 Networking

Name Description Usage
ENI Elastic Network Interface For basic day-to-day networking
EN Enhanced Networking Uses Single Root I/O Virtualization (SR-IOV) for high performance
EFA Elastic Fabric Adapter Accelerates High Performance Computing (HPC) and machine learning applications

EC2 Placement Groups

EC2 Hibernation

Systems Manager (SSM)

EC2 Practical - Step-by-steps

Launching EC2 instance

AWS CLI

Configuring Instance Profile in EC2 CLI

Configuring Instance Profile in AWS console

Bootstraping EC2 servers

Installing Wordpress

VMWare on EC2

AWS Outposts


Comments


Comments: