question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shivlakscommented, Aug 26, 2019

catching up on this issue…

This would be an enhancement to the aws-route53-targets module which currently supports the following targets:

  • API Gateway
  • CloudFront
  • S3 Bucket Website
  • ELB v2 and ELB

Route 53 documentation for valid alias targets

anything else I’m missing here?

1reaction
jogoldcommented, Jul 18, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found