Hi I have created a project using html, css and some javascript. I have an account in AWS, and have access to S3 service. What I want is to upload that project to AWS S3, and also want to access AWS RDS from the project
嗨,我已经使用html,css和一些javascript创建了一个项目。我在AWS中拥有一个帐户,可以访问S3服务。我想要的是将该项目上传到AWS S3,并且还希望从项目中访问AWS RDS
1 个解决方案
#1
1
Since s3 hosts only static website content, the approach would be to use the api gateway for all the REST services exposed, which are consumed in the JS frameworks like Angular / React.
由于s3仅托管静态网站内容,因此方法是将api网关用于所有公开的REST服务,这些服务在Angular / React等JS框架中使用。
API gateway <--> Lambda <--> RBS / DB on EC2 API gateway <--> ELB / ALB <--> App services running on server om EC2 / ECS
API网关< - > Lambda < - > EC2 API网关上的RBS / DB < - > ELB / ALB < - >在EC2 / ECS服务器上运行的应用服务
S3 hosting -> all the website html content with the above JS frameworks like angular / react where for any dynamic content, call to the Api gateway are done.
S3托管 - >所有网站html内容与上面的JS框架如angular / react对任何动态内容的响应,调用Api网关都完成了。
#1
1
Since s3 hosts only static website content, the approach would be to use the api gateway for all the REST services exposed, which are consumed in the JS frameworks like Angular / React.
由于s3仅托管静态网站内容,因此方法是将api网关用于所有公开的REST服务,这些服务在Angular / React等JS框架中使用。
API gateway <--> Lambda <--> RBS / DB on EC2 API gateway <--> ELB / ALB <--> App services running on server om EC2 / ECS
API网关< - > Lambda < - > EC2 API网关上的RBS / DB < - > ELB / ALB < - >在EC2 / ECS服务器上运行的应用服务
S3 hosting -> all the website html content with the above JS frameworks like angular / react where for any dynamic content, call to the Api gateway are done.
S3托管 - >所有网站html内容与上面的JS框架如angular / react对任何动态内容的响应,调用Api网关都完成了。