Tag: aws

  • SageMaker demo3 house sale

    House Sales in King County, USA We will use the dataset from kaggle for this lab. Please download it from the link. This dataset contains house sale prices for King County, which includes Seattle. It includes homes sold between May 2014 and May 2015. It’s a great dataset for evaluating simple regression models. Run: Output: Prepare the data […]

  • SAGEMAKER DEMO 1 – Fixed Deposit

    SAGEMAKER DEMO 1 – Fixed Deposit As a sales manager in a bank, you are asked to increase the bank revenue by finding customer to do fixed deposit. Instead of cold call each client, can we use Machine Learning to find the potential customers? Step 1: Create an Amazon SageMaker notebook instance Firstly, you create […]

  • ECR using AWS CLI with docker

    ECR using AWS CLI with docker

    Elastic Container Registry (ECR) is the docker hub in AWS. Cloud9 Create a Cloud9 instance for this example. Install or update the AWS CLI Run: Check AWS CLI version Run: Output: Install Docker in Ubuntu Run: Output: Run: Output: Run: Output: Run: Output: Install Docker CE Run: Output: Output: check Docker status Run: Output: Docker […]

  • minikube installation on Ubuntu

    minikube installation on Ubuntu

    minikube installation on Ubuntu Please install Docker in your Ubuntu first. Install minikube Run: Output: Add permission for non-root user Run: Output: Interact with your cluster Run: Output: Output: Make alias Run: Output: Run: Run: Output: Run: Output: Run: Output: Run: Output: Run: Output: Run: Output:

  • Docker Installation on Ubuntu

    Docker Installation on Ubuntu

    Docker Installation on Ubuntu https://docs.docker.com/engine/install/ubuntu/ Check Linux distro We will use Ubuntu. Run: Output: Install Docker Run: Output: Run: Output: Run: Output: Install Docker CE Run: Output: Output: check Docker status Run: Output: Docker command Run: Output: If you have one server/EC2 instance only, you may want to use minikube.

  • AWS RDS CLI

    AWS RDS CLI

    List all RDS Output:

  • AWS EC2 User Data

    AWS EC2 User Data

    AWS EC2 User Data User data means the launch script for your EC2. For example, you can create a User Data to download a website from git and put it to the web folder. So you do not need to do any setup by SSH after launch. Another function is do some basic setup so […]

  • Setup EC2 with Instance Connect

    Setup EC2 with Instance Connect

    This is a simplified version to setup an EC2 without Putty or SSH on client side (Desktop or Laptop). Login to your AWS account. https://aws.amazon.com/ Choose us-west-2 region. Go to EC2 page. Setup Security Group On the left-hand-side menu -> Network & Security -> Security Groups -> “Create security group” button Under Basic details Security […]

  • AWS DynamoDB CLI

    AWS DynamoDB CLI

    AWS DynamoDB CLI Make sure your json file is UTF-8 without BOM. Make sure your json file is UTF-8 without BOM. Make sure your json file is UTF-8 without BOM. Find current region Run: Output: List all Dynamodb tables Run: Output: List local Dynamodb tables Run: Output: Describe one Dynamodb tables We had one preset […]

  • AWS Cloud9 CLI

    AWS Cloud9 CLI

    AWS Cloud9 CLI Create a new Cloud9 in ap-east-1. Linux Update Run: Output: Update AWS CLI Check current AWS CLI version. It should be version 1.x Run: Output: Update AWS CLI Run: Output: Reboot to use the CLI version 2. Run: Output: Install Python SDK boto3 Run: Output: Setup/Check AKSK Setup AKSK Run: Output: Read […]