How to use yum private repository on amazon-s3 to provide amazon-ec2 instances?

My fantasy is the ability to deploy a standard AMI, load a small script, and ultimately create a properly configured server instance.

This is partly due to the fact that I would like to have a PRIVATE yum repo in S3 that will contain some proprietary code.

It looks like S3 wants you to be either public or use your own authentication attribute AMZN.

Is there a way that I can use the standard HTTPS + of either Basic or Digest auth with S3? I am talking about direct links to S3 without going through a web server to get to S3.

If the answer is no, has anyone thought about adding AWS Auth support to yum?

+3
source share
3 answers

You can use Amazon S3 to host your Yum private repository. Instead of authentication, you can try a different route: restrict access to your private S3 bucket by IP address. This is fully supported, see S3 Documentation .

The second option is to use the Yum plugin, which provides the necessary authentication. It seems that someone has already started working on such a plugin: https://github.com/cgbystrom/yum-s3-plugin .

+1
source

The code in cgbystrom git repo is an expression of intent, not working code.

, , , - .

https://github.com/rmela/yum-s3-plugin
+3

, S3, , EBS . EBS, .

EBS , ( ). , EBS, .

+2

Source: https://habr.com/ru/post/1718615/


All Articles