Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (29.3k points)

I have created a VPC endpoint connecting to s3. How can we access the S3 bucket using the EC2 instance launched in the private subnet? 

1 Answer

0 votes
by (50.2k points)
edited by

For connecting your private instance to AWS s3, kindly follow the below steps.

  1. ​Launch 2 instances. One in the public subnet and another in the private network. 
  2. While doing the SSH part, try to SSH your public instance and inside that, try to SSH your private instance. Here, the public instance will be called as Bastion host.
  3. Then try connecting S3 bucket inside the private instance.

Hope this works.

For more information, check out this AWS Tutorial.

Related questions

Want to get 50% Hike on your Salary?

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

0 votes
1 answer
asked Apr 2, 2020 in AWS by Amenda (1.4k points)
0 votes
1 answer
asked Feb 8, 2020 in AWS by Amenda (1.4k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...