Setting up your Workshop Resources

Your account must have the ability to have Administrative Access

Deploying the CloudFormation Templates

To set up the required resources for this workshop, you will need to deploy two CloudFormation templates:

  1. vscode-server.yaml

  2. eks-cluster.yaml


Prerequisites

Before deploying the templates, ensure the following:


Deploying the Templates

Step 1: Deploy the vscode-server.yaml

  1. Repeat the same steps as above, but upload the vscode-server.yaml file.

  2. Enter a Stack Name(e.g., vscode-server-stack) and do not modify any Parameters.

  3. Proceed with the deployment.

    VS Code Parameters

After the stack status changes to CREATE_COMPLETE, the VS Code server resources will be ready.


Step 2: Deploy the eks-cluster.yaml

  1. Navigate to the CloudFormation service in the AWS Management Console.

  2. Click Create stack and select Upload a template file.

    Create Stack Button

  3. Click Choose file, select the eks-cluster.yaml, and click Next.

    Upload Template

  4. Enter a Stack Name (e.g., eks-cluster).

  5. Review and modify the parameters as needed. Leave default values unless instructed otherwise.

    Stack Parameters

  6. Click Next, then review the stack details.

  7. Acknowledge the IAM role creation if prompted by checking the appropriate box.

    Acknowledge IAM Roles

  8. Click Submit to start the deployment.

    Create Stack Process

Once the stack status changes to CREATE_COMPLETE, the resources for the Snyk x AWS Workshop are ready.


Verifying the Deployments

  • Go to the CloudFormation Outputs tab for each stack to verify the deployment details.

    CloudFormation Outputs Tab

  • The vscode-server.yaml stack will provide the VSCODEURL and Password for accessing the VS Code server.


Note: If you encounter errors during the deployment, ensure that:

  1. You have sufficient permissions to deploy CloudFormation stacks.
  2. Your AWS account has the required service limits for the resources being deployed.
  3. All parameters are correctly configured as per the workshop requirements.

If you have any issues, refer to the troubleshooting section or contact the support team.