# 用于在AWS ECS上安装的文档

**URL:** https://meta.discourse.org/t/document-for-installing-on-aws-ecs/37257
**Category:** Self-hosting
**Created:** [2015年十二月30日 13:04 UTC](https://meta.discourse.org/t/document-for-installing-on-aws-ecs/37257 "2015-12-30T13:04:45Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![sidonaldson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidonaldson/32/121830_2.png) [@sidonaldson](https://meta.discourse.org/u/sidonaldson)
#### Post date: [2016年三月22日 12:06 UTC](https://meta.discourse.org/t/document-for-installing-on-aws-ecs/37257/8 "2016-03-22T12:06:44Z")

</div>

AWS offer a Elastic Beanstalk install option which creates a single instance docker app.

The recommended method is via a Dockerrun.aws.json which pulls a docker image.  
You can even add env keypairs during the launch setup.  
Has anyone tried this yet?

I’m no expert but this seems to get close to a build

```plaintext
{
  "TestDiscourse": "1",
  "Image": {
    "Name": "samsaffron/discourse",
    "Update": "true"
  },
  "Ports": [
    {
      "ContainerPort": "80"
    }
  ],
  "Volumes": [
    {
      "HostDirectory": "/var/discourse/shared"
    }
  ],
  "Logging": "/var/log/nginx"
}

```

---

_[View the full topic](https://meta.discourse.org/t/document-for-installing-on-aws-ecs/37257)._
