Monday, September 25, 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   3. AWS...

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:   Create lambda function: aws lambda create-function --function-name AccessMemCache --region <your-region> --zip-file...

Lambda Function Sample template test json:   kdjf

// 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   2. Copy data from S3 copy supplier from 's3://us-west-2-aws-training/awsu-spl/redshift-quest/supplier/supplier.json' CREDENTIALS 'aws_access_key_id=<YOUR-ACCESS-KEY-ID>;aws_secret_access_key=<YOUR-SECRET-ACCESS-KEY>' lzop delimiter '|' COMPUPDATE ON manifest; Check collum:   3. Debug select * from stl_load_errors; // Create view create view...