https://github.com/saadsalmanakram/aws-cloud-services
Understanding all the different cloud services offered by AWS...
https://github.com/saadsalmanakram/aws-cloud-services
aws aws-ec2 aws-lambda aws-s3
Last synced: 8 months ago
JSON representation
Understanding all the different cloud services offered by AWS...
- Host: GitHub
- URL: https://github.com/saadsalmanakram/aws-cloud-services
- Owner: saadsalmanakram
- Created: 2024-08-12T14:09:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T19:52:40.000Z (9 months ago)
- Last Synced: 2025-01-28T20:33:35.801Z (9 months ago)
- Topics: aws, aws-ec2, aws-lambda, aws-s3
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
# ☁️ AWS Cloud Services – Mastering Amazon Web Services (AWS)

## 📌 Introduction
Amazon Web Services (AWS) is the leading cloud computing platform, offering a vast range of services for hosting, computing, networking, storage, security, and deployment. This repository provides a **comprehensive guide** to mastering AWS services, including:
✅ **Compute Services (EC2, Lambda, Lightsail)**
✅ **Storage Solutions (S3, EBS, Glacier)**
✅ **Networking & Content Delivery (CloudFront, Route 53, VPC, ELB)**
✅ **Serverless Computing (Lambda, API Gateway, DynamoDB, Step Functions)**
✅ **Security & Identity Management (IAM, Cognito, Shield, WAF)**
✅ **DevOps & Monitoring (CloudFormation, CloudWatch, CodePipeline, Terraform on AWS)**This repository provides **hands-on tutorials, architecture diagrams, code examples, and best practices** for building, deploying, and scaling applications on AWS.
---
## 🚀 Features
- ☁️ **Complete AWS Service Coverage: Compute, Storage, Networking, and More**
- 📂 **Hands-on Labs & Real-World Use Cases**
- 🖥 **Infrastructure as Code (IaC) with Terraform & AWS CloudFormation**
- 📊 **Monitoring & Security Best Practices**
- 🚀 **Serverless Applications & Microservices Architecture**---
## 🏁 Getting Started
### 1️⃣ Clone the Repository
```bash
git clone https://github.com/saadsalmanakram/AWS-Cloud-Services.git
cd AWS-Cloud-Services
```### 2️⃣ Install AWS CLI & SDKs
- **AWS CLI:** [Installation Guide](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
- **Python SDK (Boto3)**
```bash
pip install boto3
```
- **Node.js SDK (AWS SDK for JavaScript)**
```bash
npm install aws-sdk
```
- **Terraform (Infrastructure as Code - IaC)**
```bash
brew install terraform # For macOS
sudo apt install terraform # For Linux
```### 3️⃣ Configure AWS CLI
```bash
aws configure
```
Enter your AWS Access Key, Secret Key, Region, and Output Format.---
## 🔍 AWS Services Covered
### 💻 **Compute Services**
- **Amazon EC2** – Virtual servers in the cloud
- **AWS Lambda** – Serverless function execution
- **Amazon Lightsail** – Simple cloud hosting for small applications
- **Elastic Load Balancing (ELB)** – Distributes traffic across EC2 instances
- **Auto Scaling** – Automatically scales resources based on demand### 🗄 **Storage Services**
- **Amazon S3** – Object storage for scalable data storage
- **Amazon EBS** – Block storage for EC2 instances
- **Amazon Glacier** – Long-term archive storage
- **AWS Backup** – Centralized backup solution### 🌎 **Networking & Content Delivery**
- **Amazon CloudFront** – Global content delivery network (CDN)
- **Amazon Route 53** – Scalable domain name system (DNS)
- **Amazon VPC** – Isolated cloud networks
- **Elastic Load Balancing (ELB)** – Distributes traffic efficiently### ⚡ **Serverless & Microservices**
- **AWS Lambda** – Function-as-a-Service (FaaS)
- **Amazon API Gateway** – Managed API hosting
- **Amazon DynamoDB** – Serverless NoSQL database
- **AWS Step Functions** – Workflow automation### 🔐 **Security & Identity Management**
- **AWS IAM** – Identity and access management
- **Amazon Cognito** – Authentication and user identity pools
- **AWS WAF** – Web Application Firewall
- **AWS Shield** – DDoS protection### 🛠 **DevOps, Monitoring & Automation**
- **AWS CloudFormation** – Infrastructure as Code (IaC)
- **Terraform on AWS** – Deploy cloud infrastructure with Terraform
- **AWS CloudWatch** – Monitoring and logging
- **AWS CodePipeline** – CI/CD automation
- **AWS Lambda for DevOps** – Automating AWS tasks with Lambda---
## 🔥 Example Code
### 🚀 **Launch an EC2 Instance using Boto3 (Python SDK)**
```python
import boto3ec2 = boto3.resource('ec2')
# Launch an EC2 instance
instance = ec2.create_instances(
ImageId='ami-0abcdef1234567890', # Replace with your AMI ID
MinCount=1,
MaxCount=1,
InstanceType='t2.micro',
KeyName='my-keypair'
)[0]print(f"EC2 Instance {instance.id} launched!")
```### ☁️ **Deploy a Static Website on S3 using AWS CLI**
```bash
aws s3 mb s3://my-static-website-bucket
aws s3 cp index.html s3://my-static-website-bucket/
aws s3 website s3://my-static-website-bucket --index-document index.html
```### 🔥 **Invoke AWS Lambda Function from Python**
```python
import boto3client = boto3.client('lambda')
response = client.invoke(
FunctionName='my_lambda_function',
InvocationType='RequestResponse',
Payload=b'{"key": "value"}'
)print(response['Payload'].read())
```### 🔑 **Create an IAM User and Attach Policy using AWS CLI**
```bash
aws iam create-user --user-name new-user
aws iam attach-user-policy --user-name new-user --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess
```---
## 🏆 Real-World Applications
✅ **Hosting & Scaling Web Applications with EC2, ELB, and Auto Scaling**
✅ **Deploying Serverless Applications using AWS Lambda & API Gateway**
✅ **Building Secure Authentication Systems with IAM & Cognito**
✅ **Automating Cloud Infrastructure with Terraform & CloudFormation**
✅ **Implementing CI/CD Pipelines with AWS CodePipeline**
✅ **Cost Optimization Strategies for AWS Usage**---
## 🤝 Contributing
Contributions are welcome! 🚀
🔹 **Fork** the repository
🔹 Create a new branch (`git checkout -b feature-name`)
🔹 Commit changes (`git commit -m "Added AWS Lambda tutorial"`)
🔹 Push to your branch (`git push origin feature-name`)
🔹 Open a pull request---
## 📜 License
This project is licensed under the **MIT License** – feel free to use, modify, and share the code.
---
## 📬 Contact
📧 **Email:** saadsalmanakram1@gmail.com
🌐 **GitHub:** [SaadSalmanAkram](https://github.com/saadsalmanakram)
💼 **LinkedIn:** [Saad Salman Akram](https://www.linkedin.com/in/saadsalmanakram/)---
☁️ **Master AWS Cloud Services and Build Scalable Applications!** 🚀
---