在过去的一周里,我一直在努力学习AWS将我的React - Django应用程序部署到AWS。我的react堆栈已成功部署到AWS Amplify,完全没花时间。在将我的Django堆栈部署到Elastic Beanstalk之后,我偶然发现了以下错误:
xhr.js:178 Mixed Content: The page at 'https://amplify.url' was loaded over HTTPS,
but requested an insecure XMLHttpRequest endpoint 'http://api.elasticbeansta
我已经配置和部署了一个API Gateway。如果我向它的一个分阶段端点(例如https://1234567890.execute-api.us-east-1.amazonaws.com/dev/doc )发出GET请求,就会得到一个200 OK响应。
如果我查看Custom Domain Names部分并替换在请求中找到的URL,例如abcdefghijkl-f4cwy0d1u5.execute-api.us-east-1.amazonaws.com to make https://abcdefghijkl-f4cwy0d1u5.execute-api.us-east-1.amazonaws
我已经使用aws WebSocket api创建了一个消息应用程序,并使用serverless进行了部署。apis已成功部署,我可以使用wscat对其进行测试。我在堆栈中也有其他Rest apis。我尝试将新的WebSocket应用程序接口堆栈映射到现有的域名,但收到错误:Only REGIONAL domain names can be managed through the API Gateway V2 API. For EDGE domain names, please use the API Gateway V1 API. Also note that only REST APIs c
编辑:我正在做一个项目,每天在GKE上部署几个项目,并以100%的自动方式部署。我们的项目是用nodejs开发的,下面是一个伪代码:
projects = get_all_projects_today() // returns 15 projects for today (for example)
for project in projects
deploy_to_GKE(project) //generate a deployment manifest for project and post it to GKE (using api call)
public_ip = c