How to create a spring web application using Amazon - amazon-web-services

Am new to Amazon Cloud service, I have to create a web application using Springs, Maven and Amazon DynamoDB. For that I have to create in Amazon Elastic Bean Services only or normally we can create a Maven spring project and include amazon dynamodb dependencies and deploy to Amazon EC2 cloud service. Now I really stuck with it? .. How to create a web app with Amazon enabled services?

Try to use jcabi-dynamo, a simple object layer on top of Amazon SDK. For your Maven project I'd recommend to use jcabi-dynamodb-maven-plugin, which will help you to automate integration testing of your DynamoDB-empowered application.

Related

how do i publish a serverless application publicly in aws Serverless Application Repository?

I am deploying a hello-world serverless app in AWS Serverless Application Repository. I want to publish the app publicly in the AWS repository. While I am referring AWS documentation, I am asked to provide LicenseUrl: in the metadata section of packaged yaml.
I am a bit confused about where do I get my LicenseUrl in order to publish the app publicly.
( refer aws doc: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html

AWS : how to deploy app Nuxt.js with integreted REST API backend to AWS cloud

I want to deploy my full-stack application Nuxt.js with api endpoint integred (with express.js).
I can't separate my project which is a very big app...
I have trouble on how to deploy my app to AWS cloud, and I don't know how to choose between amplify or lambda while keeping the lowest price possible...

Developing a custom SPA for browsing and uploading to S3

Is it possible to deploy an SPA on AWS that calls Amazon S3 APIs?
The SPA will act as a custom S3 browser app, where I want to be able to deploy, delete, etc documents that are stored in a S3 instance.
Thanks
You can certainly deploy a Single Page app written in the language of your choice and then use the corresponding AWS SDK to invoke S3 operations. For example, you can write a SPA in JS that uses the Amazon S3 JavaScript API to perform S3 CRUD operations on Amazon S3 content. Likewise, you can develop a SPA in Java and then use the Java S3 API.
Once you develop your app, you can deploy it to the cloud by deploying it to an EC2 instance. Using Elastic Beanstalk makes it easy to deploy an App to the cloud.
Yes it's possible to deploy a SPA on AWS S3. Adding medium article for reference https://medium.com/#joecrobak/production-deploy-of-a-single-page-app-using-s3-and-cloudfront-d4aa2d170aa3.
Though you need to other AWS services as well like route 53 and cloudfront

AWS choices for single microservice (spring boot) for Angular 7 client

I'm relatively new to AWS and wanted suggestions about the best options for my needs. I have a single spring boot API that is to be accessible only to my angular 7 client. The client will go in an S3 bucket. I need suggestions for how to host the API (it needs a MySQL autogenerated db).
So far I have seen ECS vs Elastic Beanstalk vs. Amplify. Can someone experienced suggest me an option that won't be overkill for this small project? The API could be called frequently depending on traffic to the client.
If you have suggestions from Azure or Google Cloud Platform those would be welcome too.
Thank you!
AWS provides the EC2 service where you can create an instance (virtual machine) and install/deploy manually your application and all the required software. For personal or very small projects this can be an option, but you should consider that your backend will not be able to scale to more instances automatically (or by configuration), you will have to take care of the configuration and backups of your database, etc.
For production-grade applications there are a lot of advantages of separating your application components, using a specific service for each component.
Given your application stack, I would recommend considering this approach:
Create a relational DB with AWS RDS
Deploy your Spring backend to AWS Beanstalk
Deploy your Angular frontend to AWS S3 (it can be served as static content)
Create a CloudFront distribution with two origins, to route the requests that must be delivered to backend (usually using a URL convention like /api/) and frontend ()

Publishing Aspnet Core Angular Cli project on Amazon Aws

I have a Aspnet Core project and Angular Cli on project that works on wwwroot of Aspnet Core project. I need to publish this website Amazon Aws.
By following the steps of tutorial of publishing Aspnet Core on Amazon Aws Elastic beans does not help. I get full of errors. There is also tutorial for publishing angular on Amaon Aws S3. I need to combine them in order to get my project published. Anybody can help me?