Skip to content

How to copy files from the efs to the deployed application docker container on AWS Blu Age Devops Pipeline ?

0

Hello, To do manual testing of batches in the CI environment (The static server, not the ones created by jenkins) , i need to be able to copy the input files stored on the efs-test-cases to the docker container where the application is deployed. How can i do this ?

1 Answer
7
Accepted Answer

Hello,

There is no automatic way to update the EFS on the static servers so far. Here is a manual process to achieve it:

  1. Connect to the ec2-<AWS_REGION>-app-<ENV> EC2.
  2. Access the application container using the following Docker command: docker exec -it <CONTAINER_ID> bash
  3. Place your input files in /usr/local/tomcat/inputs

Note: You can use the EFS to transfer your files inside the container. The workingDir/<ENV> EFS folder is mounted to the /usr/local/tomcat/efs_inputs folder inside the container.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.