SlideShare a Scribd company logo
1 of 46
Download to read offline
AWS S3 static web site hosting
&
CICD Pipeline using GitHub
Girish Bhatia | 2023
AWS cloud technology enthusiast
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
Girish’s Tech Journey
AWS S3 Static Website Hosting & CICD Pipeline using GitHub
• AWS S3 Static Website Hosting
• CICD Pipeline using GitHub
• Update S3 Website using CICD Pipeline
AWS S3 Static Website Hosting
• What is S3?
• Simple Storage Service
• Object Storage
• 99.99% availability
• Setup Budget
• Familiarize yourself with cost explorer
S3 Bucket
• Show AWS console view of S3 bucket
AWS Budget
• Show AWS console view of Budget
AWS Cost Explorer
• Show view of AWS console view
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.
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.
http://cmh-aws-meetup.s3-website.us-east-2.amazonaws.com
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)
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
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
VS Code + AWS Toolkit Extension
o VS Code View
o Updating the content via VS Code
o Refresh the site
VS Code + AWS Toolkit Extension
o Show VS Code View
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
CICD Pipeline
CICD Pipeline using GitHub
o VS Code + GitHub
o AWS Code Commit
o AWS Code Build
o AWS Code Deploy
o AWS Code Pipeline
o AWS S3
Current State: Basic Architecture ( on prim )
Current State: Improved Architecture ( on prim )
Future State: AWS Cloud enabled Architecture
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!
Create Code Pipeline
Create Code Pipeline
Add source Repo
Connect to GitHub
Connect to GitHub
Connect to GitHub
Code pipeline deploy stage
Code pipeline Review before creation
Code pipeline Created!
Code pipeline Manual Approval Action
S3 Bucket
GitHub
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
Thank you!
Girish Bhatia | 2023
Contact Me:
LinkedIn: https://www.linkedin.com/in/girishbhatia/
Website: http://girishbhatia.tech
Twitter: https://twitter.com/BhatiaGirish/
Code/slide available: GitHub

More Related Content

Similar to AWS S3 Static Website Hosting and CICD Pipeline using GitHub.pdf

Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep DiveAmazon Web Services
 
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...Amazon Web Services
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksAmazon Web Services
 
AWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless RecapAWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless RecapDaniel Zivkovic
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersAmazon Web Services
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019Amazon Web Services
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019AWS Summits
 
Your Second multi-tier Serverless Architecture on AWS
Your Second multi-tier Serverless Architecture on AWSYour Second multi-tier Serverless Architecture on AWS
Your Second multi-tier Serverless Architecture on AWSJeshan Babooa
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Amazon Web Services
 
saa3_wk5.pdf
saa3_wk5.pdfsaa3_wk5.pdf
saa3_wk5.pdfMichgo1
 
Andrew May - Getting Certified for Fun and Profit
Andrew May - Getting Certified for Fun and ProfitAndrew May - Getting Certified for Fun and Profit
Andrew May - Getting Certified for Fun and ProfitAWS Chicago
 
Como construir suas aplicações escaláveis sem servidores
Como construir suas aplicações escaláveis sem servidoresComo construir suas aplicações escaláveis sem servidores
Como construir suas aplicações escaláveis sem servidoresAlexandre Santos
 
AWS_Educate_Official_SITCON_AWS_AppRunner.pdf
AWS_Educate_Official_SITCON_AWS_AppRunner.pdfAWS_Educate_Official_SITCON_AWS_AppRunner.pdf
AWS_Educate_Official_SITCON_AWS_AppRunner.pdf土撥 JIE
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesAmazon Web Services
 
Amazon Web Service
Amazon Web ServiceAmazon Web Service
Amazon Web Servicemarctayfl
 
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...Amazon Web Services
 
Infrastructure is code with the AWS cloud development kit
Infrastructure is code with the AWS cloud development kitInfrastructure is code with the AWS cloud development kit
Infrastructure is code with the AWS cloud development kitAWS User Group Pune
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersAmazon Web Services
 

Similar to AWS S3 Static Website Hosting and CICD Pipeline using GitHub.pdf (20)

Serverless Development Deep Dive
Serverless Development Deep DiveServerless Development Deep Dive
Serverless Development Deep Dive
 
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...
Your First Hour on AWS: Building the Foundation for Large Scale AWS Adoption ...
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
 
AWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless RecapAWS re:Invent 2020 Serverless Recap
AWS re:Invent 2020 Serverless Recap
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
AWS Serverless Development
AWS Serverless DevelopmentAWS Serverless Development
AWS Serverless Development
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019
 
From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019From Code to a running container | AWS Summit Tel Aviv 2019
From Code to a running container | AWS Summit Tel Aviv 2019
 
Your Second multi-tier Serverless Architecture on AWS
Your Second multi-tier Serverless Architecture on AWSYour Second multi-tier Serverless Architecture on AWS
Your Second multi-tier Serverless Architecture on AWS
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
 
saa3_wk5.pdf
saa3_wk5.pdfsaa3_wk5.pdf
saa3_wk5.pdf
 
Andrew May - Getting Certified for Fun and Profit
Andrew May - Getting Certified for Fun and ProfitAndrew May - Getting Certified for Fun and Profit
Andrew May - Getting Certified for Fun and Profit
 
Como construir suas aplicações escaláveis sem servidores
Como construir suas aplicações escaláveis sem servidoresComo construir suas aplicações escaláveis sem servidores
Como construir suas aplicações escaláveis sem servidores
 
AWS_Educate_Official_SITCON_AWS_AppRunner.pdf
AWS_Educate_Official_SITCON_AWS_AppRunner.pdfAWS_Educate_Official_SITCON_AWS_AppRunner.pdf
AWS_Educate_Official_SITCON_AWS_AppRunner.pdf
 
ENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS ServicesENT201 Simplifying Microsoft Architectures with AWS Services
ENT201 Simplifying Microsoft Architectures with AWS Services
 
Amazon Web Service
Amazon Web ServiceAmazon Web Service
Amazon Web Service
 
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...
SRV418 Deep Dive on Accelerating Content, APIs, and Applications with Amazon ...
 
Infrastructure is code with the AWS cloud development kit
Infrastructure is code with the AWS cloud development kitInfrastructure is code with the AWS cloud development kit
Infrastructure is code with the AWS cloud development kit
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
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
  • 4. AWS S3 Static Website Hosting & CICD Pipeline using GitHub • AWS S3 Static Website Hosting • CICD Pipeline using GitHub • Update S3 Website using CICD Pipeline
  • 5. AWS S3 Static Website Hosting • What is S3? • Simple Storage Service • Object Storage • 99.99% availability • Setup Budget • Familiarize yourself with cost explorer
  • 6. S3 Bucket • Show AWS console view of S3 bucket
  • 7. AWS Budget • Show AWS console view of Budget
  • 8. AWS Cost Explorer • Show view of AWS console view
  • 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.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 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
  • 27. CICD Pipeline using GitHub o VS Code + GitHub o AWS Code Commit o AWS Code Build o AWS Code Deploy o AWS Code Pipeline o AWS S3
  • 28. Current State: Basic Architecture ( on prim )
  • 29. Current State: Improved Architecture ( on prim )
  • 30. Future State: AWS Cloud enabled Architecture
  • 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!
  • 39. Code pipeline Review before creation
  • 41. Code pipeline Manual Approval Action
  • 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
  • 46. Contact Me: LinkedIn: https://www.linkedin.com/in/girishbhatia/ Website: http://girishbhatia.tech Twitter: https://twitter.com/BhatiaGirish/ Code/slide available: GitHub