- create AWS account
https://aws.amazon.com/resources/create-account/
- install AWS CLI
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html
- install terraform CLI
https://www.terraform.io/downloads.html
Terraform is distributed as a single binary. Install Terraform by unzipping it and moving it to a directory included in your system's PATH .
- install Docker
https://docs.docker.com/docker-for-windows/install/
https://docs.docker.com/docker-for-mac/install/
-
clone repository to local computer
- git clone
-
create aws_configure.sh in main folder (where this README.md file exists)
#!/usr/bin/env bash
export AWS_ACCESS_KEY_ID=user access key id
export AWS_SECRET_ACCESS_KEY=user secret access key
export AWS_DEFAULT_REGION=aws region
-
prepare github account
-
create one if you have not
-
create personal acces token
https://github.com/settings/tokens/new
name docker
select:
-
write:packages
-
read:packages
-
delete:packages
write token to file, for example ~/TOKEN.txt (if it is different - update docker_build.sh script)
-
-
-
update scripts:
-
docker_build.sh - update GITHUB_USER and GITHUB_OWNER with own account user and owner
-
aws_configure.sh
with proper values
-