This project demonstrates how to automate the deployment of a static website on AWS S3 using Python and boto3 (AWS SDK).
Instead of manually creating buckets and uploading files, the entire process is automated using a Python script.
- Automated S3 bucket creation
- Static website hosting enabled
- File upload using Python script
- Public access configuration
- MIME type handling for files
- AWS S3
- Python
- boto3
- Creates an S3 bucket programmatically
- Enables static website hosting
- Uploads website files automatically
- Applies public access policy
- Generates website URL
pip install boto3
aws configure
python deploy.pyhttp://nitisha-static-site-12345.s3-website.ap-south-1.amazonaws.com/
aws-s3-static-website-automation/
│── deploy.py
│── website/
│ ├── index.html
│ ├── style.css
│ └── error.html
│── screenshot1.png
│── screenshot2.png
│── screenshot3.png
│── README.md
- Hands-on experience with AWS S3
- Understanding IAM permissions
- Automating cloud tasks using SDK
- Debugging real-world deployment issues
- Add CloudFront CDN (for HTTPS & caching)
- Add custom domain
- Implement CI/CD using GitHub Actions
Nitisha



