Route53: ElasticBeanstalk Application as AliasRecordTarget to Route53
See original GitHub issue- CDK CLI Version: 0.36.2
- Language: TypeScript
Hi there,
I am trying to add target of ARecord pointing to ElasticBeansalk. But I cannot found any ElasticBeansalk class that implements IAliasRecordTarget interface.
new ARecord(this, 'MyAlias', {
target: AddressRecordTarget.fromAlias(...)
})
Anyway to do this ?
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Routing traffic to an AWS Elastic Beanstalk environment
You can create alias records for the root domain name or for subdomains. · Route 53 doesn't charge for requests that use an...
Read more >Route53 configuration for Elastic Beanstalk - Jayway
Recently, I struggled to configure a HostedZoneId in a Route53 AliasTarget targeting an Elastic Beanstalk environment using CloudFormation.
Read more >Values specific for latency alias records - Amazon Route 53
Routing policyRecord nameRecord typeValue/Route traffic toRegionHealth checkEvaluate target healthRecord ID. Services or capabilities described in Amazon ...
Read more >AWS CDK: how to target an Elastic Beanstalk Environment ...
Route53 alias record for the EBS app new ARecord(this, 'ebs-alias-record', { recordName: `my-app.mydomain.com.`, target: RecordTarget.
Read more >AWS Route 53: Values for Alias Records - easycloud
If you used the same account to create your Route 53 hosted zone and your CloudFront distribution – Choose Alias Target and choose...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
catching up on this issue…
This would be an enhancement to the
aws-route53-targets
module which currently supports the following targets:Route 53 documentation for valid alias targets
anything else I’m missing here?
I personally do not use Elasticbeanstalk but if
environment.attrEndpointUrl
points to an ELB then you have to adapt the hosted zone id.For load-balanced environments, it seems that there’s no way to get the ElasticBeanstalk URL with CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#aws-properties-beanstalk-environment-return-values-fn--getatt