简体   繁体   English

将 SSL 证书添加到 Amazon AWS - S3 和 AppSync

[英]Adding SSL certificates to Amazon AWS - S3 and AppSync

I am using Amazon AWS as a back-end for my application development.我使用 Amazon AWS 作为我的应用程序开发的后端。 I am mainly using the 2 resources of AWS -我主要使用AWS的2个资源-

  1. S3 bucket storage S3 桶存储
  2. AppSync (With DynamoDB as Data Source) AppSync(以 DynamoDB 作为数据源)

I want to use or 'apply' SSL certificates for security on above 2 resources.我想使用或“应用”SSL 证书以确保上述 2 个资源的安全性。 I know I can create certificate from AWS Certificate Manager.我知道我可以从 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问题是文档中提到证书只能应用于以下 6 个资源: https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html

  1. Load Balancer负载均衡器
  2. CloudFront CloudFront
  3. Elastic Beanstalk弹力豆茎
  4. API Gateway API 网关
  5. Cloud Formation云的形成
  6. Nitro Enclaves硝基飞地

I have already mentioned that I am using S3 and AppSync.我已经提到我正在使用 S3 和 AppSync。 These 2 resources are not in the above list.这两个资源不在上面的列表中。 How do I apply certificates on the 2 resources - S3 and AppSync?如何在 2 个资源 - S3 和 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. 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/请查看来自 AWS 的这篇博客,它更好地解释了 AWS AppSync: https://aws.amazon.com/blogs/mobile/use-a-custom-domain-with-aws-appsync-amazon-cloudfront-and-amazon-route -53/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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