Cantrill SAA Notes
Cantrill SAA Notes
AWS Regions:
- isolated fault tolerance.
- Different governance/laws based on a particular region.
- location control for low latency.
VPC:
● Default VPC:
○ Only one per region (can be removed & recreated)
○ The default VPC CIDR is always 172.31.0.0/16
○ A /20 subnet is created in each AZ in region.
○ Subnets in the default VPCs are set to give services a public IPv4 addresses.
EC2:
● AZ resilient
● Instance Lifecycle
○ Running - charged for CPU compute time, memory, storage, and networking etc.
○ Stopped - not charged for anything except storage (EBS)
○ Terminated
● Can be set as - public (everyone allowed), implicit allow (owner only), or Explicit (specific
accounts are allowed)
Connecting to EC2:
Windows:
● Remote desktop protocol (RDP) over TCP port 3389
● Get the admin password by decrypting it from the private part of the key pair
● By using the Remote Desktop Connection application
Linux:
● SSH using port 22 (authentication happens using key pairs)
● Key pairs - public part kept by AWS, private part downloaded by you
S3:
Objects are the files that are stored. Buckets contain objects.
CloudFormation:
● CloudFormation takes a template and creates a stack. For all the Logical resources in a
stack, CloudFormation creates a Physical resource
Components of CloudWatch:
● Dimension - name value pairs that separate data points for different perspectives within
the same metric
● Alarms are linked to metrics to trigger actions (like send a SNS notification etc.)