官术网_书友最值得收藏!

  • Metabase Up and Running
  • Tim Abraham
  • 305字
  • 2021-06-11 18:03:25

Metabase on Elastic Beanstalk

One of the most popular services AWS offers is called EC2, and stands for Elastic Cloud Compute. You can think of these EC2 instances as virtualized servers, and they are building blocks for many of the other services offered. We will be running Metabase on one or more of these EC2 instances and connecting it to a Postgres application database.

While we could deploy these services individually and connect them up, doing so is not easy. This is where the Elastic Beanstalk service comes in handy, and that is what we will use to deploy our Metabase application. The Elastic Beanstalk service abstracts away a lot of the challenges in software deployment, like installing the software, provisioning the database, monitoring the service, and handling spikes in traffic. In that sense, Elastic Beanstalk is similar to Heroku.

Specifically, when we use Elastic Beanstalk to deploy Metabase, it will automatically do the following with just a little bit of configuration:

  • Create one EC2 instance to run Metabase on. As more users start using your Metabase instance, more EC2 instances may be created to handle the increased traffic.
  • Create another EC2 instance, called a Load Balancer. This will help route traffic evenly across the EC2 instances running Metabase.
  • Create a Postgres application database.
  • Optionally, keep log files in the AWS S3 storage service.
  • Monitor the health of your Metabase instance and alert you when things need attention.

Now that we know a little about what Elastic Beanstalk is, in the next section, we'll learn the quick way to launch Metabase using it. I include this "quick launch" method for readers who want to get Metabase running quickly, and a "best practices" method for readers who want something more suitable for running in a real, functioning, organization. You may choose to do one or both.

主站蜘蛛池模板: 珲春市| 和顺县| 上虞市| 阳春市| 沙雅县| 昌图县| 曲周县| 闻喜县| 福海县| 长子县| 比如县| 元阳县| 洛浦县| 班戈县| 上林县| 将乐县| 哈密市| 南雄市| 霸州市| 乌兰察布市| 新源县| 渝中区| 通化县| 德阳市| 全南县| 抚松县| 襄城县| 张掖市| 岱山县| 翁源县| 雷山县| 宜阳县| 平凉市| 鱼台县| 册亨县| 潞城市| 图们市| 深圳市| 光山县| 临湘市| 石棉县|