Edited at

AmazonLinuxでAWSのLocalStackインストール手順

More than 1 year has passed since last update.


リンク: https://github.com/atlassian/localstack



Dockerインストール

確認する:

$ sudo yum search docker

Loaded plugins: priorities, update-motd, upgrade-helper
========================================================================================= N/S matched: docker ==========================================================================================
docker-storage-setup.noarch : A simple service to setup docker storage devices
docker.x86_64 : Automates deployment of containerized applications
docker-devel.noarch : A golang registry for global request variables (source libraries)
docker-pkg-devel.noarch : A golang registry for global request variables (source libraries)

Name and summary matches only, use "search all" for everything.

$ sudo yum info docker

Loaded plugins: priorities, update-motd, upgrade-helper
Available Packages
Name : docker
Arch : x86_64
Version : 17.03.1ce
Release : 1.50.amzn1
Size : 22 M
Repo : amzn-updates/latest
Summary : Automates deployment of containerized applications
URL : http://www.docker.com
License : ASL 2.0 and MIT and BSD and MPLv2.0 and WTFPL
Description : Docker is an open-source engine that automates the deployment of any
: application as a lightweight, portable, self-sufficient container that will
: run virtually anywhere.
:
: Docker containers can encapsulate any payload, and will run consistently on
: and between virtually any server. The same container that a developer builds
: and tests on a laptop will run at scale, in production*, on VMs, bare-metal
: servers, OpenStack clusters, public instances, or combinations of the above.

インストール:

$ sudo yum install -y docker

サービス起動

$ service docker start


LocalStackインストール

プロジェクトをクローンする

$ git clone https://github.com/atlassian/localstack.git

起動する:

make docker-run

# Or using docker-compose:

docker-compose up