i am newbie in Metabase, also i don't have much knowledge about AWS. i have EC2 instance and i want to run Metabase on EC2 instance without elastic beanstalk. is this possible? if yes than how? and if no than why?
Elastic Beanstalk is one layer of abstraction away from the EC2 layer. Elastic Beanstalk will setup an "environment" for you that can contain a number of EC2 instances, an optional database, as well as a few other AWS components such as a Elastic Load Balancer, Auto-Scaling Group, Security Group.
When you create a web server environment, AWS Elastic Beanstalk creates one or more Amazon Elastic Compute Cloud (Amazon EC2) virtual machines, known as Instances. The instances in your environment are configured to run web apps on the platform that you choose.
There is no additional charge for AWS Elastic Beanstalk. You pay for AWS resources (e.g. EC2 instances or S3 buckets) you create to store and run your application. You only pay for what you use, as you use it; there are no minimum fees and no upfront commitments.
The simplest way of running metabase in a EC2 instance is following their own docs on how to run the application from the .jar file. Metabase has an awesome documentation so I recommend you take a look at it.
In simple steps you need to :
java -jar metabase.jar
The application will be running on port 3000 (http://:3000). Remember to open inbound rules on the EC2 security group. Important to say this setup is recommended only for testing. If you want to have an instance in production you should worry about other things such as pointing the application database to a more robust database like PostgreSQL or MySQL.
Link to official docs: http://www.metabase.com/docs/latest/operations-guide/running-the-metabase-jar-file.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With