简体   繁体   中英

Adding SSL certificates to Amazon AWS - S3 and AppSync

I am using Amazon AWS as a back-end for my application development. I am mainly using the 2 resources of AWS -

  1. S3 bucket storage
  2. AppSync (With DynamoDB as Data Source)

I want to use or 'apply' SSL certificates for security on above 2 resources. I know I can create certificate from AWS Certificate Manager.

The problem is the documention mentions that certificates can only be applied to the below 6 resources: https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html

  1. Load Balancer
  2. CloudFront
  3. Elastic Beanstalk
  4. API Gateway
  5. Cloud Formation
  6. Nitro Enclaves

I have already mentioned that I am using S3 and AppSync. These 2 resources are not in the above list. How do I apply certificates on the 2 resources - S3 and AppSync?

Do I need to do some kind of workaround?

You can create an AppSync api with the graphql (something like: https://abc.appsync.us-east-1.amazonaws.com/graphql ) and mention that api endpoint as the origin in cloudfront distribution.

Please check this blog from AWS which explains better for AWS AppSync: https://aws.amazon.com/blogs/mobile/use-a-custom-domain-with-aws-appsync-amazon-cloudfront-and-amazon-route-53/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM