Last active
April 12, 2022 12:44
-
-
Save cp-sumi-k/73a1b302a0fcc28aa0888d8f40730898 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/complete-guide-to-deploying-ssr-vite-apps-on-aws-with-automation-27676113d6ac - Load balancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Description: An ECS, ECR, ALB and cloudfront stack | |
Resources: | |
ApplicationLoadBalancer: | |
Type: "AWS::ElasticLoadBalancingV2::LoadBalancer" | |
Properties: | |
Name: < APPLICATION_LOAD-BALANCER_NAME > | |
Subnets: #can add multiple subnet ids | |
- <SUBNET-ID-1> | |
- <SUBNET-ID-2> | |
Type: application | |
SecurityGroups: | |
- !GetAtt ApplicationLBSecurityGroup.GroupId #security group id | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment