简体   繁体   English

使用 AWS 从 Spring 引导微服务项目迁移到无服务器

[英]Migrating from Spring Boot Microservices Project to Serverless using AWS

I have created a Spring cloud microservices project with netflix APIs and a frontend with React.我已经创建了一个 Spring 云微服务项目,它带有 netflix API 和一个带有 React 的前端。 Now, I want to migrate this project to serverless using amazon web services with DynamoDB and cognito.现在,我想使用 amazon web 服务和 DynamoDB 和 cognito 将此项目迁移到无服务器。 Do you know, which steps should I follow to do that?你知道,我应该遵循哪些步骤来做到这一点? And what should I consider before doing this migration?在进行此迁移之前我应该考虑什么? For the Frontend React I decided to use S3 to host it.对于前端 React,我决定使用 S3 来托管它。

Be sure if u really want to do this.确定你是否真的想这样做。 This will be a big project;这将是一个大项目; almost like re-writing complete codebase.几乎就像重写完整的代码库一样。 Good part is that lambda supports Java so u might end up doing lots of copy paste.好的部分是 lambda 支持 Java 所以你最终可能会做很多复制粘贴。 You would have a lambda function of each REST api endpoint u were exposing.您将有一个 lambda function 每个 REST Z8A5DA52ED1264427D35AZ9E70C0 端点暴露。

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

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