Sunday, November 19, 2017

Running Serverless ASP.NET Core Web APIs with Amazon Lambda Slideshare: AWS Lambda with Csharp Tutorial AWS Sample code for .net core API Gateway: Lambda: CloudWatch Logs http://docs.aws.amazon.com/lambda/latest/dg/dotnet-programming-model.html AWS CloudFormation: When you use AWS...

AWS montoring service: https://blog.cloudability.com/understanding-the-new-aws-reserved-instance-model/ AWS Cost Calulator: https://calculator.s3.amazonaws.com/index.html AWS Price and Type: http://ec2pricing.net EC2 comparison: http://www.ec2instances.info/?min_memory=16&min_computeunits=8&min_storage=1000&region=ap-northeast-2&cost_duration=monthly Understand On demand and RI: https://www.promptcloud.com/ec2-ondemand-vs-reserved-instance-pricing.php

Node.js is an open source JavaScript runtime environment for easily building server-side and networking applications. The platform runs on Linux, OS X, FreeBSD, and...

Automating AWS Services with Scripting and the AWS CLI a. Create Keypair: aws ec2 create-key-pair --key-name CLI 2. Bootstrap with user data #!/bin/sh curl -L https://us-west-2-aws-training.s3.amazonaws.com/awsu-spl/spl03-working-elb/static/bootstrap-elb.sh | sh #!/bin/sh yum...

Sample code: Self-Paced Lab: Serverless Architectures using Amazon S3 and Amazon SNS with AWS Lambda spl116-sns-s3-lambda ================================================================================================================== Using this command reference. ================================================================================================================== 1. Locate the section you need. Each...

Create cache: aws elasticache create-cache-cluster --cache-cluster-id ClusterForLambdaTest --cache-node-type cache.m3.medium --engine memcached --security-group-ids <your-default-vpc-security-group-id> --num-cache-nodes 1 Deployement option: from __future__ import print_function import time import uuid import sys import socket import elasticache_auto_discovery from pymemcache.client.hash...

Lambda Function from __future__ import print_function import boto3 import json import logging from base64 import b64decode from urllib2 import Request, urlopen, URLError, HTTPError SLACK_CHANNEL = '<#Slack_Channel>' HOOK_URL = "<HOOK_URL>" logger = logging.getLogger() logger.setLevel(logging.INFO) def lambda_handler(event,...

// Info ElasticLoadBalancer, qls-95965-ElasticL-EIJLTRMF6WHF AMIId, ami-f0091d91 KeyName, qwikLABS-L251-959650 AvailabilityZone, us-west-2a SecurityGroup, qls-959650-9e4e0af87f9270ec-Ec2SecurityGroup-1FLS2W4COXMWO // Bootstrap #!/bin/sh yum -y install httpd php mysql php-mysql chkconfig httpd on /etc/init.d/httpd start cd /tmp wget http://us-east-1-aws-training.s3.amazonaws.com/self-paced-lab-4/examplefiles-as.zip unzip examplefiles-as.zip mv examplefiles-as/* /var/www/html // CLI aws configure aws...

EBS offers persistent storage for EC2 instance. Can be leveraged as an EC2 instance's boot partition Provide ability to create point-in-time snapshots of your volume. 2 volume...

Tool: https://app.jackdb.com CREATE TABLE supplier ( s_suppkey int4 NOT NULL , ...