First, log into AWS and type IAM in the search bar to create an access key there.



access key for github action

To allow GitHub to use these values as environment variables in CI/CD, create a secret key.

AWS_ACCESS_KEY_ID Assign the access key value created in AWS.AWS_SECRET_ACCESS_KEY Assign the secret key value created in AWS.AWS_REGION Assign the region you’re using.AWS_ACCOUNT_NUMBER Assign your AWS account number.CI_PROJECT_BE_NAME Assign the name of the repository on ECR for the backend.CI_PROJECT_FE_NAME Assign the name of the repository on ECR for the frontend.CLUSTER_NAME Assign the ECS Cluster name.TASK_NAME_BE Assign the backend task definition name.TASK_NAME_FE Assign the frontend task definition name.SERVICE_NAME_BE Assign the backend service name.SERVICE_NAME_FE Assign the frontend service name.AWS_APPLICATION_NAME Assign the Application name in CodeDeploy for the backend.AWS_DEPLOYMENT_GROUP_NAME Assign the Deployment group name in the Application for the backend.
Since this repository uses ECR to store images, if you want to use a different storage service like Docker Hub, make sure to add the required secret keys for logging in to Docker Hub, and update the configuration file variables accordingly.