Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.72 KB

File metadata and controls

76 lines (53 loc) · 2.72 KB

The Very First Step: Install Dependencies

Create Your Own GitHub Repository

Create a new GitHub repository base on this template.

  1. Create your own lab1 repository by clicking the green button use_template
  2. Clone the newly created repository
  3. In the root directory of the repository, run make install to install the dependencies

Install kubectl

kubectl: the standard Kubernetes command line interface

Install Node.js 16

Use nvm to install Node.js 16:

$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
$ nvm install 16

Set up AWS CLI

Install AWS CLI

Config AWS Credentials

This step requires you to have an AWS account (access key and secret access key). If you don't have one now, just skip this step.

Run this command to quickly set and view your credentials, region, and output format. The following example shows sample values.

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE # <-- Replace with your own access key
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY # <-- Replace with your own secret access key
Default region name [None]: ap-southeast-1
Default output format [None]: yaml

Install pulumi

Pulumi is an open-source infrastructure as code (IaC) platform that helps developers safely and predictably create, manage, and improve infrastructure.

https://www.pulumi.com/docs/get-started/install/

Install Helm

Helm is a tool that automates the creation, packaging, configuration, and deployment of Kubernetes applications.

A.K.A., A lightweight alternative to Pulumi on Kubernetes.

$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.sh