In this section, you will create a Gateway endpoint to access Amazon S3 from an EC2 instance. The Gateway endpoint will allow uploading an object to an S3 bucket without using the Public Internet. To create an endpoint, you must specify the VPC in which you want to create the endpoint and the service (in this case, S3) to which you want to establish a connection.
