Tuesday, July 16, 2019

Start/Stop VMs during off-hours solution (preview) in Azure Automation

From MicroSoft azure: LINK LINK 2 Using Windows Service: http://azurecorner.com/start-stop-windows-azure-vms-according-time-schedule/

Running Serverless ASP.NET Core Web APIs with Amazon Lambda

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...

Usefull website for infrastructure

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

How To Set Up a Node.js Application for Production on Ubuntu 16.04

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...

Advance topic about AWS

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...

Protected: Serverless Access to RDS and ElastiCache Behind a Virtual Private Cloud (VPC) with...

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...

Using AWS Lambda with Amazon CloudWatch and SNS to Implement a Slack Chat Bot

Lambda Function Sample template test json:   kdjf

Maintaining High Availability with Auto Scaling (for Linux)

// 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...

Introduction to Amazon Elastic Block Store (EBS)

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...