---
# System prepended metadata

title: Introduction to AWS

---

---
title: AWS Cloud Computing Introduction
---

## Introduction to AWS
---

:::danger
[toc]
:::

### Keywords
:::success
- Datacenters (Buying) vs Cloud Computing (Renting)
- Hyperscalers
- Cloud Bursting
- Capital Expenditure (CapEx) vs Operational Expenditure (OpEx)
- Examples of OpEx
    - Electricity
    - building rent
    - Cooling
    - Security
    - Staffing
- Datacenters / Cloud / Colocation
- SDDC [Software Defined Data Centers]
    - Server Virtualisation [ESXi/HyperV/KVM/AWSNitro]
    - Storage Virtualisation [SAN/NetApp/EMC2]
    - Network Virtualisation [SDN/NSX]
- Shared Responsibility Model
- Multi-region architecture
- DevOps Engineers / SRE / Platform Engineers
- ClickOps
- Submarine / Undersea cables
- Password-less Authentication in Linux and Unix
:::

### What is cloud computing?
:::info
Cloud computing is the on-demand delivery of IT resources over the Internet with pay-as-you-go pricing. Instead of buying, owning, and maintaining physical data centers and servers, you can access technology services, such as computing power, storage, and databases, on an as-needed basis from a cloud provider like Amazon Web Services (AWS).
:::

### You can interact with AWS via:
:::success
- Management Console [GUI] - user id + Password
- Command line [AWS-CLI] - Access Key + Secret access Key
- Programmatic access [SDK/API] - Access Key + Secret access Key
:::

### Benefits of Cloud computing
:::info
- Cost
- Pay as you go
- Elasticity
- Faster and easier Scability
- Agility
- Reduced Liability and support
- Reliability
- High Availability
- Automation
- Better and easier Compliance [PCI-DSS/SOC/FISMA/HIPAA]
:::


### Cloud Deployment Models:
:::success
- Public - AWS, Azure, GCP, OCI etc.
- Private - Openstack, Cloud Foundry
- Hybrid - On-prem + Public or Private+Public
- Multi - Multiple Public Clouds
- GovCloud (US) / Sovereign Cloud (EU)
:::


### Cloud Service / Delivery Models:
:::info
- IaaS - Infrastructure as a Service | EC2, EBS
- PaaS - Platform as a Service | Elastic Beanstalk, EKS
- SaaS - Software as a Service | S3, SQS, SNS, 
- XaaS - FaaS, CaaS, DBaaS etc.
:::


### AWS Service scope can be:
:::success
- Global - IAM, Route53
- Regional - S3, DynamoDB
- AZ-Sepcific - EC2, EBS 
:::

### AWS Services can be:
:::info
- **Unmanaged**
    - You manage the infrastructure, OS, patches, scaling, and availability.
    - AWS provides the raw resources; operational responsibility is mostly yours.
    - Offers maximum control and flexibility.
    - Examples: EC2, EBS, self-managed databases on EC2.
- **Managed Services**
    - AWS manages infrastructure, OS, patching, scaling, and high availability.
    - You focus on application logic and data, not operations.
    - Faster to deploy and easier to operate.
    - Examples: RDS, DynamoDB, Lambda, S3.
:::

### AWS services have Limits (Quotas):
:::success
**Hard Limits (Fixed)** | Cannot be changed
- Example:
    - AWS Lambda: Up to 10 GB memory per function
    - AWS Lambda: Maximum 15 minutes execution time per invocation

**Soft Limits (Adjustable)** | Can be increased by requesting a quota raise.
- Examples:
    - Amazon RDS: 40 DB instances per account per region
    - AWS Lambda: 1,000 concurrent executions
    - Amazon VPC: 5 VPCs per account per region
:::


### AWS Global Infrastructure
:::info
- Regions
- Availability Zones
- Edge Locations | CDN | CloudFront
- AWS Backbone Network | High speed, low latency fibre-optic cables 
- AWS Outposts | Latency, Data Regulation
:::

![aws_global-infrastructure-map_2022](https://hackmd.io/_uploads/r1XxhqEmWl.jpg)

#### Considerations while choosing a region
:::success
- Compliance Data Regulations
- Latency
- Service availability
- Cost
:::

#### Class activity 1:
:::warning
**Billing and Cost management --> Billing Preferences --> Alerts Preferences --> Enable AWS free tier alert**
:::



### References and Links
:::warning
- https://www.simplilearn.com/free-kali-linux-course-skillup
- https://www.simplilearn.com/learn-python-basics-free-course-skillup
- https://termius.com/
- https://aws.amazon.com/about-aws/global-infrastructure/
- https://aws.amazon.com/compliance/programs/
- https://aws.amazon.com/ec2/nitro/
- https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started-account-iam.html?icmpid=docs_iam_console#tutorial-billing-step1
- https://www.submarinecablemap.com/
:::


### Books and reading recommendations
:::warning
- https://devtodevops.com/blog/best-devops-books/
- https://sre.google/books/
- https://microservices.io/
- https://martinfowler.com/
- https://workshops.aws/
- https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/devops-pattern-list.html
:::


