All Projects → devdattakulkarni → CloudComputing

devdattakulkarni / CloudComputing

Licence: Apache-2.0 license
Sample programs for Cloud Computing course at UT Austin

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to CloudComputing

laravel-php-k8s
Just a simple port of renoki-co/php-k8s for easier access in Laravel
Stars: ✭ 71 (+136.67%)
Mutual labels:  google-kubernetes-engine
k8s-digester
Add digests to container and init container images in Kubernetes pod and pod template specs. Use either as a mutating admission webhook, or as a client-side KRM function with kpt or kustomize.
Stars: ✭ 65 (+116.67%)
Mutual labels:  google-kubernetes-engine
k8s-security-demos
Demos for several kubernetes security features
Stars: ✭ 60 (+100%)
Mutual labels:  google-kubernetes-engine
kubernetes-100days
Notes from 100 days with Kubernetes
Stars: ✭ 32 (+6.67%)
Mutual labels:  google-kubernetes-engine
traefik-gke-demo
Demo to use Traefik as GKE loadbalancer
Stars: ✭ 25 (-16.67%)
Mutual labels:  google-kubernetes-engine
Kubeflow
Machine Learning Toolkit for Kubernetes
Stars: ✭ 11,028 (+36660%)
Mutual labels:  google-kubernetes-engine

Code examples for Cloud Computing course

This repository contains samples and examples demonstrating cloud resource provisioning and usage for Amazon AWS and Google Cloud Platform (GCP).

Steps

  1. Create virtual environment

    $ virtualenv venv

    $ source venv/bin/activate

  2. Install requirements in the virtual environment

    $ pip install -r requirements.txt

  3. Setup PYTHONPATH

    $ export PYTHONPATH=.:$PYTHONPATH

  4. Do AWS setup as outlined below

  5. Try examples as shown below

AWS setup

  1. Sign up for AWS

  2. Add AWS IAM user: Login to AWS Dashboard -> My Security Credentials -> Continue to Security Credentials -> Users -> Add User

  3. Add permission to the user created: Select user -> Add permissions -> Attach existing policies directly -> Search for "AmazonEC2FullAccess"

  4. Do AWS setup in your local account to allow SDK access to AWS. The sample examples will guide you through the setup process. You will be asked to enter aws_access_key_id, aws_secret_access_key, region, and output format. You can find names of AWS regions at the following link:

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html

Examples

  1. VM:

    • Examples demonstrating provisioning and management of Cloud VMs

    • Try:

      $ python VM/ec2_handler.py

  2. libvirt:

    • Examples demonstrating managing guest OSes (domains) on a host using libvirt

    • Try on EC2 Ubuntu 16.04 t2.micro instance

      $ sudo apt install python-pip $ pip install libvirt-python $ python libvirt/domain_handler.py

  3. ObjectStores:

    • Examples demonstrating use of Cloud Object Stores (e.g. AWS S3)

    • Grant AmazonS3FullAccess permission to your IAM Service Account / User

    • Try:

      $ python ObjectStores/s3_handler.py

  4. DynamoDB:

    • Starter code for working with AWS DynamoDB
    • Grant AmazonDynamoDBFullAccess to your IAM Service Account / User
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].