Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
AWS S3 Static Website Hosting and CICD Pipeline using GitHub.pdf
1. AWS S3 static web site hosting
&
CICD Pipeline using GitHub
Girish Bhatia | 2023
AWS cloud technology enthusiast
2. About Girish Bhatia
IT Experience:
§ 20+ years in IT
§ Software Development using Java, .NET, Oracle, APIs, BI tools in
telecom, public/state system, banking/finance domain.
§ Onshore/offshore software delivery
§ Tech Program/Project Management
§ Journey to Cloud, Tech Modernization
§ On Prim to Cloud Migration
§ Cloud/API integration B2B
Qualifications:
§ Master of Science in Computer Information Systems
§ AWS Certified Solution Architect: Associate ǀ Amazon Web Services
§ Microsoft Certified: Azure Fundamentals ǀ Microsoft
§ AWS Certified Cloud Practitioner ǀ Amazon Web Services
§ Microsoft Certified Professional: Solution Architecture ǀ Microsoft
§ Microsoft Certified .NET Solutions Developer ǀ Microsoft
§ Microsoft Certified .NET Solutions Developer ǀ Microsoft
§ Project Management Professional (PMP) | Project Management Institute
§ Certified Scrum Master | Scrum Alliance
9. Steps for S3 Web Site Hosting
o Create S3 bucket for static contents
o Enable static web site hosting
o Upload site contents
o Organize html, CSS, image and other contents files
o Identify index and error pages.
10. See it in action!
o Create S3 bucket for static contents
o Enable static web site hosting
o Upload site contents
o Organize html, CSS, image and other contents files
o Identify index and error pages.
19. Got the website endpoint, what’s next?
o Buy a Domain (use Route 53 or similar service )
o Configure S3 bucket end point for your domain. Configure CNAME entry
o Public Hosted Zones are meant to be used for people requesting your website through the Internet. Finally, NS
records must be updated on the 3rd party Registrar.
o Optional: Use ACM to generate SSL/TLS Certificate
o Install certificate to enable HTTPS
o Use CloudFront (you cannot use https/certificate directly with S3 static web site)
20. AWS Services used thus far:
o AWS Budget
o AWS Cost Explorer
o AWS S3
o AWS Route 53
o AWS ACM
o AWS CloudFront
21. Upload site contents - Multiple Way to upload contents
o Use AWS Console to load the contents
o Use IDE/AWS tools like VS Code. ( this is my preferred way )
o Use CLI
22.
23. VS Code + AWS Toolkit Extension
o VS Code View
o Updating the content via VS Code
o Refresh the site
24. VS Code + AWS Toolkit Extension
o Show VS Code View
25. Backup your website code in your local folder
o CLI Command to backup/fetch contents to your local folder
o aws s3 cp s3://cmh-aws-meetup/ ./ --recursive
31. See it in action!
o Create Code Pipeline
o Commit change
o Push to GitHub
o Code Pipeline gets triggered and update S3 Bucket
o Updated website is published!
44. AWS Services used:
o AWS Budget
o AWS Cost Explorer
o AWS S3
o AWS Route 53
o AWS ACM
o AWS CloudFront
o AWS Code Deploy
o AWS Code Pipeline
o VS Code
o GitHub