Environment Setup

Here are instructions to prepare your environment to run the workshop.

If you are participating in the workshop in a classroom setting at an AWS-sponsored event, your classroom account will have the bootstrap IAM permissions already.

If you plan to launch the workshop CloudFormation stacks in your own AWS account, this CloudFormation stack will bootstrap required permissions for you.

Important: Don’t forget to check the acknowledgement that CloudFormation will be creating IAM resources for you.

_images/cloudformation-launch-stack.png

We have provided CloudFormation templates that creates a Cloud9 workspace with all of the prerequisites to work with the workshop code and system.

The setup is split across two stacks: the Initial Stack, for basic resources, and the Cloud9 stack, for an IDE.

Initial Stack

Sign into the Console and launch the initial CloudFormation stack.

_images/cloudformation-launch-stack.png

Cloud9 Stack

Wait for the initial CloudFormation stack deployment to complete, then launch the Cloud9 CloudFormation stack.

_images/cloudformation-launch-stack.png

Prerequisites Installation

Use the console to find your Cloud9 IDE.

After you’re logged in to the Cloud9 IDE, use our utility script to prepare your language environment.

cd busy-engineers-encryption-sdk
git checkout utilities
./prep-java.sh

Attention

Cloud9 should automatically check out the git repository when you activate the IDE. Sometimes this script does not run. If you do not have a copy of busy-engineers-encryption-sdk, close your IDE tab and reopen it.

Use the console to find your Cloud9 IDE.

After you’re logged in to the Cloud9 IDE, use our utility script to prepare your language environment.

cd busy-engineers-encryption-sdk
git checkout utilities
./prep-python.sh
. ~/.bashrc

Attention

Cloud9 should automatically check out the git repository when you activate the IDE. Sometimes this script does not run. If you do not have a copy of busy-engineers-encryption-sdk, close your IDE tab and reopen it.

At this point you should have a Linux system that can deploy the example application with the instructions in Exercise 1: Explore.