Event: https://www.meetup.com/dot-net-learne...
GitHub:
https://github.com/vishipayyallore/sp...
https://github.com/ViswanathaSwamy-PK...
Agenda:
The Big Picture
Pre-requisites
Previous sessions
Create .NET 8 Minimal API
Discusion on .NET 8 Minimal API
Execute Minimal API locally using Swagger / Postman / .http file
AWS Code Commit
Create Repository for the project code
Check in and Check out the code
Branches and Feature Branch
Feature development, and Commits
Pull Request and Merge
AWS Code Build
Create the S3 Bucket to store artifacts
Create the Code Build Project
Create buildspec.yml
Build the repo
Download the artifacts and verify
Preparing EC2 instance for deployment
Creating the required roles
Creating a new Ubuntu EC2 Instance
Installing code deploy agent
Installing required software (.NET 8 runtime)
AWS Code Deploy
Code Deploy - Application, Deployment Group, and Deployment
Create appspec.yml file
Use Code Deploy to deploy the latest binaries to EC2
Verify the deployed Minimal API using EC2's public IP / DNS
SUMMARY / RECAP / Q&A