I hereby claim:
- I am helithumper on github.
- I am helithumper (https://keybase.io/helithumper) on keybase.
- I have a public key ASC-4FtjUD9-N8okrmsb98ulVsmuKYXikkLocac9R8tJnwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# The B2 Key is an Application Key with R/W access to the bucket you are backing up to | |
# While the B2_KEY_NAME isn't neccessary, it is nice to keep around for documentation purposes | |
B2_ACCOUNT_ID=ACCOUNT_TOKEN_ID | |
B2_ACCOUNT_KEY=ACCOUNT_KEY_ID | |
B2_KEY_NAME=NAME_OF_KEY | |
# Information for Restic's internals. | |
# - Create a bucket and put it's name at "BUCKET_NAME" |
Honestly, it would be redundant for me to put the guide here, so follow this guide: https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop#0. It is built for installing natively on a machine with a USB drive, but if you ignore the beginning steps and start at step #5 then you'll be good.
There are a few ways to do this, but here are the steps which you need to complete
1.) Run sudo apt-get update && sudo apt-get upgrade -y
in your terminal in order to update any existing programs installed on the vm
#!/bin/bash | |
# Peyton Duncan | Spring 2019 | |
# Script to deploy CTF challenges to AWS. | |
# 1.) Login to AWS Cli | |
# 2.) Tag build | |
# 3.) Push Build | |
# 4.) Tell ECS to get a new version from ECR | |
$(aws ecr get-login --no-include-email --region us-east-1 >/dev/null) | |
ECR_LINK=REDACTED.dkr.ecr.us-east-1.amazonaws.com |
image: docker:latest | |
variables: | |
REPOSITORY_URL: <AWS ACCOUNT ID>.dkr.ecr.eu-central-1.amazonaws.com/<ECS REPOSITORY NAME> | |
REGION: eu-central-1 | |
TASK_DEFINTION_NAME: <TASK DEFINITION NAME> | |
CLUSTER_NAME: <CLUSTER NAME> | |
SERVICE_NAME: <SERVICE NAME> | |
services: |