Deploying .NET API on Amazon Linux EC2 | Custom Domain | SSL certificate with Let's Encrypt
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- In this video, I will show you how to deploy your ASP.NET Core application on Amazon Linux EC2 with a custom domain and SSL certificate. Follow step-by-step instructions for a seamless setup, ensuring your application is secure and accessible. This guide covers everything from EC2 hosting to configuring a Let's Encrypt SSL certificate, providing valuable insights required for the deployment on AWS EC2.
🛠️ Resources:
Notion page link - resonant-cement-f3c.notion.si...
🕒 Timestamps:
00:00 Introduction
01:00 Create an EC2 instance - Amazon Linux 2023
05:59 Install .NET 8 with User Data
09:45 Configure Security Groups
11:20 Installing Nginx
13:58 Create a .NET 8 API, publish it, and upload it to the S3 bucket
18:15 Make required directories on the EC2
20:32 Copy the Application Code into a directory
25:31 Run the application manually | Exposing the API to internet
28:53 Configure the application to start automatically
34:38 Update Nginx configuration to point to ASP.NET Core application
38:13 Run ASP.NET application with Custom Domain
41:07 Restricting access of your API
43:57 Run with HTTP using an SSL Certificate
👨🏫 About the Presenter:
I'm Ankush Jain. Full Stack Engineer with 12+ years of experience in Software Development. I love building web applications and cloud solutions. My technology stack mostly revolves around .NET, JavaScript, AWS & DevOps.
👩💻 Learn with us:
Stay tuned for more AWS tutorials, cloud computing insights, and practical tech demos. Subscribe now and enhance your understanding of cloud infrastructure and server performance! 💻✨
🔗 Connect with us:
Twitter: / ankushjain358
LinkedIn: / ankush-jain-developer
Website: coderjony.com
👍 Like, share, and subscribe for more AWS tutorials, and stay tuned for upcoming content on cloud computing, development, and more!
#DOTNET #ASPNETCORE #AmazonEC2 #SSL #WebDevelopment #Tutorial #Programming
🎥 Watch Next:
• Amazon Cognito Tutoria...
🔔 Don't forget to hit the bell icon to receive notifications for our latest tutorials and updates! Happy coding! 🚀 - วิทยาศาสตร์และเทคโนโลยี
Thank you very much, you really helped me
Glad I could help!
I have assigned IAM role with AmazonSSMManagedInstanceCore policy but still getting error of SSM Agent is not online and getting connect button as disabeld.
Just stop the EC2 and start it again. It happens when you attach the role after creating the instance.