Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

308
Vistas
how to give full access of s3 bucket from ec2 security group

I want to give full access to the S3 bucket from the ec2 security group so all the ec2 instances all associated with that security group can have full access to S3 bucket.

also, I am thinking in the right direction or any other method need to use.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

Unfortunately, you cannot add ec2 security group to the bucket policy.

However, usually if you want to enable access to S3 to your instances you would do this though instance roles. This way all instances which would need to have the S3 access would have the role attached allowed for it.

Having the role, if you want to use the bucket policy you would control access by specifying the role's ARN as the principle in the bucket policy.

over 4 years ago · Santiago Trujillo Denunciar

0

I know it's a bit late, but for others wandering on to this question, see this post on server fault.

Tl;dr:

  • Create an access point for the bucket in S3, selecting the VPC that will access S3
  • Then create an endpoint in that VPC to S3 -- it will ask you to select the route from your VPC routing table that will redirect traffic from the concerned instances to S3
  • Lastly, create an outbound HTTPS rule in your security group with the VPC endpoint prefix as your destination, e.g. pl-xxxx

You can get the endpoint prefix in the AWS console via VPC --> Managed Prefix Lists --> prefix that points to S3.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda