Create S3 Gateway endpoint
Access the VPC service management console
- Click Endpoints.
- Click Create endpoint.
At the Create endpoint page.
- In the Name tag section enter S3GW.
- In the Service Category section click select AWS services.
- In the search box enter S3, then select com.amazonaws.[region].s3 with Type Gateway.

- In the VPC section, select Lab VPC.
- In the Route tables section, select both route tables.

Scroll to the very bottom, click Create endpoint.
Next we will configure Session Manager to be able to store session logs into the S3 bucket we created.