carrier-gateway aws ec2 describe-carrier-gateways –profile legacy –region us-east-1 –output text client-vpn-endpoint aws ec2 describe-client-vpn-endpoints –profile legacy –region us-east-1 –output text customer-gateway aws ec2 describe-customer-gateways –query CustomerGateways[].CustomerGatewayId –profile legacy –region us-east-1 –output text dhcp-options aws ec2…
Recent Posts
AWS CLI
Find Old Snapshots aws ec2 describe-snapshots –region us-east-1 –profile 272 –query ‘Snapshots[?StartTime<=`2019-03-01`]’ Find Network Interfaces aws ec2 describe-instances –filters “Name=vpc-id,Values=vpc-5ef0b731” –query ‘Reservations[*].Instances[*].NetworkInterfaces[*].NetworkInterfaceId’ –output text List Name of EC2 Instance and Related Network Interface aws ec2…
AWS Exam Links
Domain 1: Design Resilient Architectures EBS FAQs Whitepaper – AWS Storage Services Overview Lab – Introduction to Amazon Elastic Block Store Amazon EC2 Instance Store SQS FAQs ELB FAQs ELB Documentation EIP FAQs Route 53…
Palindrome
#!/usr/bin/python3 number = input(‘Enter number ‘) step = 0 sum = 0 fwd = int(number) rev = int(number[::-1]) if fwd == rev: print (‘poly’) sum = number else: while fwd != rev: sum = fwd…
Install and Secure KONG
Install Casandra database docker run -d –name kong-database -p 9042:9042 cassandra:3 Install Kong docker run -d –name kong –link kong-database:kong-database -e “KONG_DATABASE=cassandra” -e “KONG_CASSANDRA_CONTACT_POINTS=kong-database” -e “KONG_PG_HOST=kong-database” -p 8000:8000 -p 8443:8443 -p 8001:8001 -p 7946:7946 -p…
Cloudformation Substitution Example
AWSTemplateFormatVersion: 2010-09-09 Description: Create DynamoDB table for Monit Application Parameters: Environment: Default: dev Description: Leveraged for environment tagging. Type: String AllowedValues: – dev – tst – qa…
Cloudformation YAML Script
AWSTemplateFormatVersion: “2010-09-09” Description: “Basic Ec2” Resources: Ec2Instance1: Type: AWS::EC2::Instance Properties: InstanceType: t2.small SubnetId: subnet-xxxx …
Deploy Django Application to Elastic Beanstalk
Ensure the EC2 Instance Allows Traffic Launch a Docker Container and Update docker run -it -p 80:80 ubuntu /bin/bash apt-get update apt-get upgrade apt-get dist-upgrade Install Python 2.7, Pip, Amazon Command Line Interface (AWS CLI)…
Install Alfresco Community Edition
Overview These are the instructions I arrived at for install Alfresco Community Edition 4.0b under JBoss. Much of this is taken from the Alfreso Wiki albeit documention is soemwhat scattered and hard to find. Feel…
Clone WebSphere
#1 – Create deployment manager on the target machine /usr/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName Dmgr01 -templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/management -serverType DEPLOYMENT_MANAGER -nodeName wstestapp-dm -cellName WC_comm01_cell -hostName localhost Review log file, /usr/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt Make note of the “Managment SOAP connector port”…
Recent Comments