Professional Documents
Culture Documents
Overview
1. Create an AWS Development User
2. Install aws-cli
3. Configure credentials in .aws credentials file
4. Create the public ssh keys
5. Execute the sh function file to establish the tunnel
6. Add the new server in pgadmin tool
7. Creación de la Imagen Docker para ejecución de scanner
8. Creación del schedule de Gitlab para ejecución del scanner.
1. In a terminal execute aws --version. If aws-cli is already installed you will receive a
message as below:
2. If not found message is gotten, please follow the link below to install it.
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
When the prompt window asks you for the keys, copy and paste them and type enter in each
one. Key id and secret key id are the ones provided in step one, region name and output format
are: us-west-2 and json, see below.
Create the ssh keys
To create a tunnel you will need your keys, please ensure you have them created.
In a terminal go to:
cd .ssh
If the keys are not created yet please go to the below link to create them
https://www.siteground.com/kb/generate_ssh_key_in_linux/
ssh-keygen -t rsa
Function sh file will be sent separately to each one. After you download to your local
environment, In a terminal execute the following:
chmod +x open-tunnel_stag.sh
Once tunnel is activated, the last step is to create the server n pgadmin tool.
User: ecaresoft
Password: *********