Follow these 10 simple steps to increase the volume size of the EBS backed EC2 instance.
Let’s first confirm the current configurations -
Step 1: Login to your instance using SSH
Step 2: List all the block devices currently mounted on your machine
// this command will show all the mounted volumes of your machine. The EBS Block volume will be shown as the Block Name followed by the partition name
// here, Block Name : xvda and Disk Partition Name is : xvda1
with current size of 8GB.
Step 3: List the current size for filesystem
The blog will cover the whole process of deployment of a flask app on AWS-EC2 using Gunicorn & Nginx in just 7 Steps
Steps to deploy the Flask App on EC2:
sudo apt-get update
sudo apt install nginx
sudo apt install python3
sudo apt install python3-pip
pip3 install virtualenv
pip3 install Flask
pip3 install Flask-RESTful
pip3 install gunicorn
python3 -m venv base
Paste the following code:
ExecStart=/home/ubuntu/base/bin/gunicorn — workers 3 — error-logfile /home/ubuntu/gunicorn_logs/error_log — bind unix:my_flask_app.sock -m 007 app:app
a. Replace the WorkingDirectory path with your…
This cheat sheet covers all concepts from novice to advanced level
Structured Query Language (SQL) is widely being used as a Relational Database Programming Language almost everywhere from a small project on a school kid to a large enterprise. Hence, achieving mastery in the SQL adds a bonus to your skillset.
Here, I will be discussing some important functions and concepts of SQL which will definitely add a star to your skills.
Add: function to add some interval to your timestamp column
Syntax: date_add(column_name,interval units value)
where units: Integer value we want to add
Example: select date_add(current_timestamp,interval 330…
Engineer trying have "T" shaped skill set