AWS Code Deploy - CI/CD Series Part 3
AWS Code
Deploy is a service provided by Amazon Web Services (AWS) that helps you
automate software deployment on various types of computing resources such as
EC2 instances, on-premises servers, or Lambda functions.
Appspec.yaml:
The AppSpec file is a YAML-formatted file used by AWS CodeDeploy to manage the deployment of an application.
It
provides instructions to CodeDeploy about the application’s source code, the deployment target, the
scripts to run, and the permissions required to execute the scripts.
It also
includes information about the deployment lifecycle hooks, which allow
developers to execute custom scripts at specific points during the deployment
process.
Before we start with code deploy, We need to create a role which has the below permissions.
Once the role is created. Let's proceed to Code Build. Create an application.
Give the deployment group name and role that we created and select the deployment type. I have chosen "InPlace" update.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqYAv7F7uyebmRHgxSDbt71DkvAKn4De5rDxqi0KRv-qyOl-_jXd8hWinN66iKTWEutWu0XBaLDrUR7565Z0MiW765ifTpl-0Q6txNz-iTXuqEl61If9dnaB6uBMnkAULwsC5poPUziebCa-Fmz7mW008nKAJxzYB3aLi0G8znx0qeKtq61AnxcuYwdss/w640-h302/Screenshot%20Capture%20-%202024-03-16%20-%2020-07-52.png)
Comments
Post a Comment