Posts By Erick Kendall

AWS CLI

, , 1,239 Comments

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…

Read Post →

AWS Exam Links

, , 968 Comments

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…

Read Post →

Palindrome

, , 81 Comments

#!/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…

Read Post →

Install and Secure KONG

, , 512 Comments

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…

Read Post →

Cloudformation YAML Script

, , 7 Comments

AWSTemplateFormatVersion: “2010-09-09”   Description: “Basic Ec2”   Resources:     Ec2Instance1:       Type: AWS::EC2::Instance       Properties:         InstanceType: t2.small         SubnetId: subnet-xxxx      …

Read Post →

Clone WebSphere

, , 13 Comments

#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”…

Read Post →

DKAN Installation

, , 8 Comments

  Update the OS and Install Developemnt Tools yum update yum groupinstall ‘Development Tools’ Download Apache HTTPD along with apar and apr_util wget http://mirror.symnds.com/software/Apache/apr/apr-1.5.2.tar.gz wget http://www.interior-dsgn.com/apache/apr/apr-util-1.5.4.tar.gz wget http://mirrors.advancedhosters.com/apache//httpd/httpd-2.4.18.tar.gz wget http://mirror.symnds.com/software/Apache/apr/apr-1.5.2.tar.gz wget http://www.interior-dsgn.com/apache/apr/apr-util-1.5.4.tar.gz Build APR gzip…

Read Post →