# Upgrade docker compose version on Elastic CI Stack

**URL:** <https://forum.buildkite.community/t/upgrade-docker-compose-version-on-elastic-ci-stack/2443>\
**Category:** Elastic CI Stack for AWS\
**Created:** [December 6, 2022, 10:44pm UTC](https://forum.buildkite.community/t/upgrade-docker-compose-version-on-elastic-ci-stack/2443 "2022-12-06T22:44:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkburges](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/jkburges/32/986_2.png) [@jkburges](https://forum.buildkite.community/u/jkburges)\
**Post date:** [December 6, 2022, 10:44pm UTC](https://forum.buildkite.community/t/upgrade-docker-compose-version-on-elastic-ci-stack/2443/1 "2022-12-06T22:44:01Z")

</div>

What determines what version of docker compose is installed on the Elastic CI Stack for AWS?

At the time of writing it comes with 1.29.2 ([Elastic CI Stack for AWS | Buildkite Documentation](https://buildkite.com/docs/agent/v3/elastic-ci-aws#whats-on-each-machine)) but I need at least v2.4.1 as would like to use the ssh build option (ref: [Docker Compose release notes | Docker Documentation](https://docs.docker.com/compose/release-notes/#241))

---

<div class="post-metadata">

**Author:** ![jkburges](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/jkburges/32/986_2.png) [@jkburges](https://forum.buildkite.community/u/jkburges)\
**Post date:** [December 6, 2022, 11:57pm UTC](https://forum.buildkite.community/t/upgrade-docker-compose-version-on-elastic-ci-stack/2443/2 "2022-12-06T23:57:25Z")

</div>

To answer my own question: docker and docker compose are baked in to the AMIs used by the cloudformation template, config comes from: [elastic-ci-stack-for-aws/install-docker.sh at master · buildkite/elastic-ci-stack-for-aws · GitHub](https://github.com/buildkite/elastic-ci-stack-for-aws/blob/master/packer/linux/scripts/install-docker.sh)

FWIW, looking at [Add docker compose v2 to linux by donbobka · Pull Request #1052 · buildkite/elastic-ci-stack-for-aws · GitHub](https://github.com/buildkite/elastic-ci-stack-for-aws/pull/1052/files), perhaps docker compose v2 is already installed 🎉

---

<div class="post-metadata">

**Author:** ![lizette](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/lizette/32/1161_2.png) [@lizette](https://forum.buildkite.community/u/lizette)\
**Post date:** [December 7, 2022, 12:31am UTC](https://forum.buildkite.community/t/upgrade-docker-compose-version-on-elastic-ci-stack/2443/3 "2022-12-07T00:31:46Z")

</div>

HI @jkburges,

Welcome to the Buildkite Community! 👋🏼

It’s great that you have found the references from [GitHub - buildkite/elastic-ci-stack-for-aws: An auto-scaling cluster of build agents running in your own AWS VPC](https://github.com/buildkite/elastic-ci-stack-for-aws).

You could also explore building your own Elastic CI Stack if you want to have more control on the contents of your AWS instances.
