-
Install Docker/Create basic docker file for the application.
-
An IAM role needed to be in place to use ECS, details on it's creation are here.
This role is created automatically during the ecs first run wizard, provided the user has IAM permissions to create said role.
The new role should be available to view here -
Create {application name} docker repo from the ecs repositories page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Called by "git push" after it has checked the remote status, | |
# but before anything has been pushed. | |
# | |
# If this script exits with a non-zero status nothing will be pushed. | |
# | |
# Steps to install, from the root directory of your repo... | |
# 1. Copy the file into your repo at `.git/hooks/pre-push` | |
# 2. Set executable permissions, run `chmod +x .git/hooks/pre-push` |
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
PUT https://<elastic-search-host>:9200/_snapshot/s3-backup
{
"type": "s3",
"settings": {
"bucket": "<s3 bucket name>",
"region": "us-east-1",