Skip to content

EvelienSchellekens/elastic-apm-workshop-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Elastic APM Workshop AMI for Strigo

Packer Setup for Strigo

To build an AWS AMI for Strigo, use Packer. Build the AMI with packer build packer.json and set up the training class on Strigo with the generated AMI and the user ubuntu.

If things are failing for some reason: Run packer build -debug packer.yml, which will keep the instance running and save the SSH key in the current directory. Connect to it with ssh -i ec2_amazon-ebs.pem [email protected]; open ports as needed in the AWS Console since the instance will only open TCP/22 by default.

Configuration

The base image is Canonical, Ubuntu, 18.04 LTS, amd64 bionic image build on 2020-01-12 and is configured using the setup.sh script.

The AMI image is shared by default with the Strigo account as specified by their documentation.

Strigo init script

Add this to the init script in Strigo to start the IDE container:

#!/bin/bash
sudo docker run -d -it -p 3022:3000 -v "/home/ubuntu/spring-petclinic:/home/project:cached" elswork/theia:1.0.1
exit

About

Packer code to build the APM Workshop AMI used for Strigo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages