How to Deploy NET Core 6 Web Application to AWS with CI/CD using Bitbucket Pipelines 2023
1.1 هزار بار بازدید -
پارسال
-
How to Deploy NET Core
How to Deploy NET Core 6 Web Application to AWS with CI/CD using Bitbucket Pipelines 2023
In this video, I will show you how to create a CI/CD pipeline using AWS and Bitbucket.
At the end of this video, you will be able to build, test, and deploy your ASP NET Core Web Application to AWS seamlessly.
If you have any more questions, feel free to comment below.
This tutorial is also available in blog format, check it out here:
https://wisuja.medium.com/streamlining-ci-...
You can get the tutorial repository here:
https://github.com/wisuja/ASP.NET-CORE-CI-...
Timestamps:
00:00 Intro
00:47 Bitbucket Repository
01:47 Create AWS IAM Group
02:42 Create AWS IAM User
03:55 Create AWS IAM User Access Key
04:55 Create AWS IAM Role
07:56 Create AWS S3 Bucket
08:50 Create AWS EC2 Instance
10:49 Connect to AWS EC2 Instance
12:42 Install IIS on AWS EC2 Instance
15:00 Test IIS connection
15:30 Install NET Core Hosting Bundle
17:14 Installing AWS Systems Manager Agent on EC2
19:42 Installing AWS CodeDeploy Agent on EC2
21:20 Create AWS CodeDeploy Application
23:06 Create config files
25:29 Set up Bitbucket Pipelines Repository Variables
27:19 Testing the CI/CD
27:55 Create Website in IIS Manager
31:22 Access the website
32:23 IMPORTANT! Add the IAM role to the AWS EC2
33:05 IMPORTANT! Check the AWS CodeDeploy Agent Service status on EC2
Download the NET Core Hosting Bundle here:
https://dotnet.microsoft.com/en-us/downloa...
Scripts that I used in the video:
---
[System.Net.ServicePointManager]::SecurityProtocol = 'TLS12'
$progressPreference = 'silentlyContinue'
Invoke-WebRequest `
https://s3.amazonaws.com/ec2-downloads-win... `
-OutFile $env:USERPROFILE\Desktop\SSMAgent_latest.exe
---
Start-Process `
-FilePath $env:USERPROFILE\Desktop\SSMAgent_latest.exe `
-ArgumentList "/S"
---
rm -Force $env:USERPROFILE\Desktop\SSMAgent_latest.exe
---
Restart-Service AmazonSSMAgent
---
powershell.exe -Command Get-Service -Name codedeployagent
---
Social Media:
Follow my Instagram:
https://instagram.com/wisuja.dev
https://instagram.com/hi.nabu
#wisuja #aspnetcore #cicd #aws #bitbucket
In this video, I will show you how to create a CI/CD pipeline using AWS and Bitbucket.
At the end of this video, you will be able to build, test, and deploy your ASP NET Core Web Application to AWS seamlessly.
If you have any more questions, feel free to comment below.
This tutorial is also available in blog format, check it out here:
https://wisuja.medium.com/streamlining-ci-...
You can get the tutorial repository here:
https://github.com/wisuja/ASP.NET-CORE-CI-...
Timestamps:
00:00 Intro
00:47 Bitbucket Repository
01:47 Create AWS IAM Group
02:42 Create AWS IAM User
03:55 Create AWS IAM User Access Key
04:55 Create AWS IAM Role
07:56 Create AWS S3 Bucket
08:50 Create AWS EC2 Instance
10:49 Connect to AWS EC2 Instance
12:42 Install IIS on AWS EC2 Instance
15:00 Test IIS connection
15:30 Install NET Core Hosting Bundle
17:14 Installing AWS Systems Manager Agent on EC2
19:42 Installing AWS CodeDeploy Agent on EC2
21:20 Create AWS CodeDeploy Application
23:06 Create config files
25:29 Set up Bitbucket Pipelines Repository Variables
27:19 Testing the CI/CD
27:55 Create Website in IIS Manager
31:22 Access the website
32:23 IMPORTANT! Add the IAM role to the AWS EC2
33:05 IMPORTANT! Check the AWS CodeDeploy Agent Service status on EC2
Download the NET Core Hosting Bundle here:
https://dotnet.microsoft.com/en-us/downloa...
Scripts that I used in the video:
---
[System.Net.ServicePointManager]::SecurityProtocol = 'TLS12'
$progressPreference = 'silentlyContinue'
Invoke-WebRequest `
https://s3.amazonaws.com/ec2-downloads-win... `
-OutFile $env:USERPROFILE\Desktop\SSMAgent_latest.exe
---
Start-Process `
-FilePath $env:USERPROFILE\Desktop\SSMAgent_latest.exe `
-ArgumentList "/S"
---
rm -Force $env:USERPROFILE\Desktop\SSMAgent_latest.exe
---
Restart-Service AmazonSSMAgent
---
powershell.exe -Command Get-Service -Name codedeployagent
---
Social Media:
Follow my Instagram:
https://instagram.com/wisuja.dev
https://instagram.com/hi.nabu
#wisuja #aspnetcore #cicd #aws #bitbucket
پارسال
در تاریخ 1402/05/19 منتشر شده
است.
1,143
بـار بازدید شده