Hi all anyone have a tutorial in creating a public...
# general
n
Hi all anyone have a tutorial in creating a public domain with https for the AWS ALB using pulumi? I know that route53 and certificate managers are necessary. I am looking for a straight forward tutorial.
b
i don't think we have anything to hand at the moment, I can try throw something together this week. Whuch language SDK are you using?
๐Ÿ™Œ 1
n
Hey Lee, thatโ€™s a cool tutorial to have will definitely be useful to all Pulumi developers. I am using Typescript and I appreciate it and thank you!
b
@nice-alarm-18551 how are you deploying your application?
g
@billowy-army-68599 from the conversation above I remember it's a group of EC2 instances. So I'd say that components you need are. R53, ACM, ALB/ELB Create 443 listener and attach the certificate from ACM. then in R53 create an A record with alias value of your ALB. Combining these two should give you what you need. https://github.com/pulumi/examples/blob/master/aws-ts-static-website/index.ts https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/lb/#application-load-balancers Also you may benefit from learning AWS architecture. I can recommend aCloudGuru for that or find some exercies on youtube/udemy. To gain confidence around AWS components.
๐Ÿ™ 1
โœ… 1
๐Ÿ‘ 1
n
@billowy-army-68599 I am doing web app deployment with ALB -> ECS/Fargate cluster
b
hi @nice-alarm-18551 while looking through our examples I found this: https://github.com/pulumi/examples/blob/258d3bad0a00020704743e37911c51be63c06bb4/aws-ts-netlify-cms-and-oauth/cms-oauth/infrastructure/index.ts which is very close to what you'r elooking for
โœ… 1
n
This is really helpful. Thanks Lee!