From 0f8e514427558fff197d0c15257923bb2fa43244 Mon Sep 17 00:00:00 2001 From: JustFiesta Date: Sat, 18 May 2024 09:53:05 +0200 Subject: [PATCH] Comm update --- prepare_aws_enviroment.sh | 2 +- remove_aws_enviroment.sh | 2 +- run_container_on_EC2.sh | 2 ++ send_image_to_aws.sh | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/prepare_aws_enviroment.sh b/prepare_aws_enviroment.sh index bdc647ce5..6dd7f892d 100644 --- a/prepare_aws_enviroment.sh +++ b/prepare_aws_enviroment.sh @@ -3,7 +3,7 @@ # This script sets up basic AWS environment for pushing docker images into the cloud # It creates: VPC, Subnet, Elastic Container Registry (ECR), EC2 instance with a public IP, Security Groups # -# Note: script needs preconfigured AWS CLI +# Reqiured: Docker, configured AWS CLI, EC2 key pair created from AWS # Global data REGION="eu-west-1" diff --git a/remove_aws_enviroment.sh b/remove_aws_enviroment.sh index f442d60ab..b5441b742 100644 --- a/remove_aws_enviroment.sh +++ b/remove_aws_enviroment.sh @@ -3,7 +3,7 @@ # This script removes AWS environment from previus scripts # It removes: VPC, Subnet, Elastic Container Registry (ECR), EC2 instance with a public IP, Security Groups # -# Note: script needs preconfigured AWS CLI +# Reqiured: configured AWS CLI read -p "Enter VPC id: " VPC_ID read -p "Enter Subnet id: " SUBNET_ID diff --git a/run_container_on_EC2.sh b/run_container_on_EC2.sh index 376a4f848..5010cf636 100644 --- a/run_container_on_EC2.sh +++ b/run_container_on_EC2.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # ------------------- # This script sets authenthicates and pulls docker image. Then runs it on host +# +# Reqiured: configured AWS CLI, EC2 key pair created from AWS # Global data diff --git a/send_image_to_aws.sh b/send_image_to_aws.sh index 86a43d128..7af6bf77e 100644 --- a/send_image_to_aws.sh +++ b/send_image_to_aws.sh @@ -2,7 +2,7 @@ # ------------------- # This script sets builds and pushes image to previously made ECR # -# Note: docker is reqiured +# Reqiured: Docker, configured AWS CLI, EC2 key pair created from AWS # Global data