Amazon EC2 and Elastic Bean - amazon-web-services

I have developed an application using Amazon Java web project from eclipse console, If I try to publish the project, its not publishing and showing error like this and this. Is only possibility to create a web project in Amazon services is through Elastic Beanstalk or else we can create a web project of our own and can be uploaded normally with EC2 instance???. If the question is foolish, please forgive. Am a newbie to Amazon services.

Elastic Beanstalk is a managed option. But you can deploy your application on to your own instances.

Related

Suggestion in Deployment of ASP.NET Core Web API in AWS

I have a ASP.NET Core Web API planning to deploy in AWS, I don't have enough background in AWS what is the good package to subscribe in AWS?
My option is Amazon EC2 or Cloud Computing or there is other package for Web API? And my other concern is I also have files to upload by the client need at least of 1 or 2 TB of cloud storage. Can I connect the Cloud Storage services of Amazon to Amazon EC2. I really don't how to start.
You could look at Elastic Beanstalk (EB) as explained in Creating and deploying .NET applications on Elastic Beanstalk. EB is AWS Platform as a Service (Paas) offering which allows you to deploy your code, without managing much or any of EC2 instances, load balancers, security groups and more.
Alternatively, if you can run your app in a docker container, maybe it would be easier to deploy it using ECS Fargate. EB can also be used to deploy dockerized applications.
For storage you can use EFS if you require filesystem-like storage that can be shared across multiple instances, containers or lambda functions.

Microservice deployment using Elastic Beanstalk

I am trying to develop a Spring Cloud microservice and deploying into AWS cloud using Elastic Beanstalk. When I am searching deployment options I found that deployment environment of Beanstalk. I have a little confusion here. Can I deploy my microservice using Elastic Beanstalk without launching EC2 machine?
Here I am approaching only to Elastic Beanstalk service. Deploying microservice using Elastic Beanstalk without launching EC2 is possible?
I am a beginner in the AWS world.
You can use Elastic Beanstalk to deploy your microservices. When you use Elastic Beanstalk, in the backend Elastic Beanstalk creates the required EC2 instances and Load balancers to run and deploy your application. Hence you don't need to create an EC2 instance. I would recommend you to follow the tutorial here, which walks you through to launch a sample Multi Docker application.
Also, I would recommend you to research ECS/Fargate service which has more capabilities for hosting a Microservices application.

Spring Cloud microservice deployment in AWS

I am trying to develop a Spring Cloud microservice and need to deploy in AWS cloud. I am new to Spring Cloud and AWS. I would like to open a EC2 instance and like to deploy using Elastic Beanstalk environment wizard.
When I am exploring how to create EC instance and configuration, I found that the documentation explaining EC2 and EC2 container service. Here I need to deploy my service in Java environment and Tomcat as service structure. So I am confused about EC2 and EC2 container service. Which one is suitable for my criteria and requirement? EC2 or Ec2 container service for deploying my service?
EC2 container service is to be used if you want to run container systems like Docker. Are you comfortable using Docker containers?
If you want to use standard virtual machine; use EC2 instance. Your requirement of deploying microservice can be achieved using any of EC2 instance or EC2 container service. What is important is your comfort level.

How to deploy non-web Java application to EC2 via AWS BeanStalk?

Does AWS Elastic BeanStalk support deploy non-web Java application to EC2?
That is to say, I want to pass a jar to EC2 instance, and make it auto run when EC2 instance started.
As of today, you have to run Java based web applications or worker tier applications, both have to be modeled as web apps.
You could run a tomcat app that does some backend processing work but does not perform the usual functions of a web app.

Why is application deployed on Amazon Elastic Beanstalk not accessible?

I have deployed Spring MVC & MySQL based application on Amazon Elastic Beanstalk. The RDS instance of MySQL is working perfectly. I deployed my application war on Beanstalk using Tomcat 6 (which is referring to RDS instance) and the EC2 instance is running successfully as per the AWS Management Console intimation but while accessing application URL I am facing the following issue
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
Note: Availing free services of AWS. I have defined instance type as small for RDS and medium for web application and do have S3 instance with 36mb data.
Could any one suggest me what would be the problem?
I resolved the issue by creating EC2 security Groups to the DB instance.