Posts in 2022

  • How to delete files from Ubuntu recycle bin after X days

    Monday, December 26, 2022 in Ubuntu

    Open the Settings by clicking the top right corner Open Settings > Privacy > File History & Trash Under the Trash & Temporary Files section enable Automatically Delete Trash Content Select the required number of days under Automatically …

    Read more

  • Call Lex Intent From Amazon Connect Without User Input

    Saturday, December 24, 2022 in AWS

    Lex can be integrated within Amazon connect using the “Get customer input” widget. This widget plays an initial prompt. Once the user states something then intent is triggered based on the relevant utterance. However, there might be …

    Read more

  • Malware Running Bash Process Communicating With Tor2web Sites

    Thursday, December 22, 2022 in Security

    If you see the following process running on your server then your server is most likely infected with bitcoin mining malware. $ ps -ef ... tomcat 1710 1695 0 11:21 ? 00:00:00 /bin/bash -c n=( …

    Read more

  • Install CloudWatch Agent on Ubuntu AWS EC2 Instance

    Monday, December 12, 2022 in AWS

    Check whether CloudWatch agent already installed by running the following command amazon-cloudwatch-agent-ctl -help If this prints the usage details then CloudWatch agent is already installed. If not proceed with installation Pre-requisite Attach the …

    Read more

  • Install SSM Agent on Ubuntu AWS EC2 Instance

    Monday, December 12, 2022 in AWS

    SSM agent is installed by default on the latest Ubuntu images, so first verify whether the SSM agent is already installed by executing the following command. sudo snap list amazon-ssm-agent if the above command returns error: no matching snaps …

    Read more

  • Transfer AWS Elastic IP From One Account to Another

    Sunday, December 11, 2022 in AWS

    Request transfer in Source Account Open AWS EC2 console in source account Click Network & Security -> Elastic IPs Select the required IP Click Actions -> Enable Transfers Enter the target account id …

    Read more

  • Migrate Ec2 From One Account to Another

    Saturday, December 10, 2022 in AWS

    Take snapshot of EC2 from Source Account Open AWS EC2 console Click Instances in the left navigation Select the required EC2 instance Click Actions -> Image and templates -> Create image Enter …

    Read more

  • Where Can I Find the default AWS SDK Version of Lambda Runtime?

    Friday, December 09, 2022 in AWS

    Following link provides the mapping between different lambda run times and the corresponding AWS SDK version

    Read more

  • Arrow Function

    Wednesday, December 07, 2022 in NodeJS

    Arrow functions are really helpful when you want create reusable one liner function. e.g. let us assume you want to add two numbers, then you would normally create a function as follows function add(a, b) { return a + b } instead of this we can …

    Read more

  • Transfer Domain From Godaddy to Aws

    Saturday, December 03, 2022 in AWS

    Prepare domain to transfer from Godaddy Login into godaddy Go to My Products Open the settings of the required domain which needs to be transferred Verify the email id provided contact info is valid and you have access to this email account Click …

    Read more