Skip to main content

Posts

Showing posts from October, 2019

AWS Certification Exam Tips for AWS Lambda

  AWS Lambda A serverless compute service. Lambda executes your code only when needed and scales automatically. Lambda functions are stateless – no affinity to the underlying infrastructure. You choose the amount of memory you want to allocate to your functions and AWS Lambda allocates proportional CPU power, network bandwidth, and disk I/O. AWS Lambda is SOC, HIPAA, PCI, ISO compliant. Supports the following languages: Node.js Java C# Go Python Components of a Lambda Application Function – a script or program that runs in Lambda. Lambda passes invocation events to your function. The function processes an event and returns a response. Runtimes – Lambda runtimes allow functions in different languages to run in the same base execution environment. The runtime sits in-between the Lambda service and your function code, relaying invocation events, context information, and responses between the two. Layers – Lambda layers are a distribution mechanism for libra

Upgrade MySQL 5.1 to MySQL 5.7 on CentOS

Upgrading MySQL is pretty straight forward, however there are some catches. Per MySQL’s official documentation, you must upgrade from 5.1 to 5.5, then upgrade from 5.5 to 5.6, and finally again from 5.6 to 5.7. You cannot upgrade from 5.1 directly to 5.7. This guide will outline how to upgrade MySQL 5.1 to MySQL 5.7 in sequence and will assume you are using the IUS repositories for MySQL. If the IUS repositories are not already setup, you can install them by: CentOS 6 # yum install epel-release # rpm -ivh https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-15.ius.centos6.noarch.rpm # CentOS 7 # yum install epel-release # rpm -ivh https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release-1.0-15.ius.centos7.noarch.rpm Upgrade from MySQL 5.1 to MySQL 5.5 Create a restore point. This will be backing up the databases, the my.cnf, as well as a user and database listing. This can be done by: # mysql -S mysqldump # mkdir -p /root/mysqlupgrade