Skip to content

Commit

Permalink
Fixed code review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-on-gh committed Sep 6, 2024
1 parent 3a2a68e commit 374eb86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 5 additions & 1 deletion route53-alb-s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ This template deploys Amazon Route53, Application Load Balancer (ALB), VPC Endpo
2. From the CloudShell command prompt run the following command to access your private website. Replace `{PrivateWebsiteUrl}` with the corresponding output value of the `sam deploy` command:
```
curl -v -k -L {PrivateWebsiteUrl}
curl -k -L {PrivateWebsiteUrl}
```
- The `curl` command makes an HTTP GET request to the deployed private website.
- `-k` option allows curl to ignore that the certificate is issued by a private certificate authority and proceed with making the invocation.
- `-L` option tells curl to follow any HTTP redirects that the server sends. If the server responds with a 3xx HTTP status code and provides a new URL, curl will automatically issue a new request to the new URL.
3. You can also test by spinning up an EC2 instance within the same VPC or from another location that has private connectivity to the VPC. However, if you try to access the URL from outside network, it will not be reachable.
## Cleanup
Expand Down
5 changes: 1 addition & 4 deletions route53-alb-s3/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,4 @@ Outputs:
Value: !Ref ALBSecurityGroup
VPCEndpointSecurityGroup:
Description: The Security Group ID for the VPC Endpoint
Value: !Ref VPCEndpointSecurityGroup



Value: !Ref VPCEndpointSecurityGroup

0 comments on commit 374eb86

Please sign in to comment.