Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)
I'm using GitLab CI/CD and need to move the built data from there t AWS EC2. I have 2 ways, but they are not that good ideas, So is there any easy way to copy built files from GitLab CI/CD to AWS EC2?

1 Answer

0 votes
by (12.4k points)

You can configure the runners on EC2 instances. Also, you have few options, like:

1. Managing your own runners and giving them permissions to drop built files in S3 and your instances will pick from there. Then you can trigger SSM commands from the runner targeting your instances and they will download the built files.

2. Also you can look into S3 notifications, use them to trigger Lambda Function functions on object uploads and Lambda could then push SSM commands to instances, it's pretty fast.

Do you want to learn more about AWS? Checkout AWS Training by Intellipaat!

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...