<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Neha pawar on Medium]]></title>
        <description><![CDATA[Stories by Neha pawar on Medium]]></description>
        <link>https://medium.com/@nehapawar29005?source=rss-e2c3c5fc112c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ns4OwmssFcK1TnE7ddcOTA.jpeg</url>
            <title>Stories by Neha pawar on Medium</title>
            <link>https://medium.com/@nehapawar29005?source=rss-e2c3c5fc112c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 12:29:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nehapawar29005/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Project Overview]]></title>
            <link>https://medium.com/@nehapawar29005/project-overview-082c30732d3d?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/082c30732d3d</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Sun, 08 Mar 2026 10:28:46 GMT</pubDate>
            <atom:updated>2026-03-08T10:28:46.751Z</atom:updated>
            <content:encoded><![CDATA[<p>This project implements a cloud-based data ingestion pipeline using AWS services and a Dockerized Python application.</p><p>The application reads a CSV dataset stored in Amazon S3, processes it using Python and Pandas, and attempts to insert the records into an Amazon RDS MySQL database.</p><p>If the database connection fails or the insert operation fails, the application automatically falls back to AWS Glue Data Catalog, where the dataset location in S3 is registered and its schema is stored.</p><p>This architecture demonstrates how to build a fault-tolerant and resilient cloud data pipeline.</p><h3>Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2wYJiSkRF8tRD1mM.png" /></figure><h3>Data Flow</h3><pre>Amazon S3 (CSV Dataset)<br>        │<br>        ▼<br>Dockerized Python Application<br>(app.py using boto3, pandas, sqlalchemy)<br>        │<br>        ▼<br>Amazon RDS MySQL Database</pre><pre>If Success<br>        ▼<br>Records Stored in RDS</pre><pre>If Failure<br>        ▼<br>AWS Glue Data Catalog<br>        ▼<br>Table Created + Dataset Registered</pre><h3>AWS Services Used</h3><p><strong>Amazon S3</strong><br>Stores the CSV dataset used in the ingestion pipeline.</p><p><strong>Amazon RDS (MySQL)</strong><br>Acts as the primary relational database where processed records are stored.</p><p><strong>AWS Glue Data Catalog</strong><br>Used as a fallback mechanism to store dataset schema and register the S3 data location.</p><p><strong>Amazon EC2</strong><br>Used to securely connect to the RDS database for verification and query execution.</p><p><strong>Docker</strong><br>Containerizes the Python application to ensure consistent deployment and execution.</p><h3>Technologies Used</h3><ul><li>Python 3.9</li><li>Docker</li><li>Pandas</li><li>Boto3</li><li>SQLAlchemy</li><li>PyMySQL</li></ul><h3>Project Structure</h3><pre>s3-rds-glue-project<br>│<br>├── app.py<br>├── Dockerfile<br>├── requirements.txt<br>├── README.md<br>│<br>└── img/</pre><h3>Step 1: Create S3 Bucket</h3><p>Create an Amazon S3 bucket to store the CSV dataset.</p><p>Example bucket name:</p><pre>devops-data-pipeline-bucket-123</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xADMnh7t_0C-SBhJ.png" /></figure><h3>Step 2: Upload CSV File</h3><p>Upload the dataset (data.csv) to the S3 bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NcrBEs4ksmw1Liec.png" /></figure><h3>Step 3: Create Amazon RDS MySQL Database</h3><p>Create an RDS MySQL database instance.</p><p>Example database identifier:</p><pre>devops-mysql-db</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H9e0x9v0nBTIsNEM.png" /></figure><h3>Step 4: Create AWS Glue Database</h3><p>Create a database in AWS Glue Data Catalog.</p><p>Example database name:</p><pre>devops_glue_db</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Eyn3NBnL7EwfgQPy.png" /></figure><h3>Step 5: Python Application</h3><p>The Python script performs the following operations:</p><ul><li>Connects to Amazon S3</li><li>Reads the CSV file</li><li>Processes the data using Pandas</li><li>Attempts to insert records into Amazon RDS</li><li>If database connection fails:</li><li>Creates table in AWS Glue</li><li>Registers dataset location in S3</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9oDWQZ6MIohTuCdN.png" /></figure><h3>Step 6: Docker Containerization</h3><p>The application is packaged into a Docker container.</p><p>Dockerfile responsibilities:</p><ul><li>Uses Python base image</li><li>Installs required dependencies</li><li>Copies application code</li><li>Executes Python script</li></ul><h3>Build Docker Image</h3><p>Run the following command:</p><pre>docker build --no-cache -t s3-rds-pipeline .</pre><h3>Run Docker Container</h3><p>Run the container with AWS credentials.</p><pre>docker run \<br>-e AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY \<br>-e AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY \<br>-e AWS_DEFAULT_REGION=ap-south-1 \<br>s3-rds-pipeline</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*drZlrAMjuXj_8SpL.png" /></figure><h3>Verify Data in RDS</h3><p>Connect to the MySQL database and run:</p><pre>SELECT * FROM people;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dS6eFWClSEkmtif5.png" /></figure><h3>EC2 Instance for Database Access</h3><p>An EC2 instance is used to securely connect to the RDS database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aMusIOv2DW3RcZ7Q.png" /></figure><h3>AWS Glue Fallback</h3><p>If the RDS insertion fails, the application automatically:</p><ul><li>Creates a table in AWS Glue</li><li>Registers the dataset location from S3</li><li>Stores schema metadata</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8Ynnfvk9KEp1eTUk.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j74WJYUujG7hGZ9o.png" /></figure><h3>Project Outcome</h3><p>Automated cloud data ingestion pipeline Dockerized Python application Integration of AWS services Fault-tolerant architecture</p><h3>Key Learnings</h3><ul><li>Designing resilient cloud data pipelines</li><li>Integrating AWS services (S3, RDS, Glue)</li><li>Containerizing applications using Docker</li><li>Implementing fallback mechanisms in cloud workflows</li></ul><h3>About Me</h3><p>Neha Pawar DevOps &amp; Cloud Enthusiast</p><h3>Connect with Me</h3><ul><li>GitHub <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></li><li>LinkedIn <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></li><li>Medium <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=082c30732d3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Jenkins Job Triggered by Access Log Size]]></title>
            <link>https://medium.com/@nehapawar29005/automated-jenkins-job-triggered-by-access-log-size-b4e0063069d4?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4e0063069d4</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 15:01:58 GMT</pubDate>
            <atom:updated>2026-03-07T15:01:58.670Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project implements an automated system that monitors the size of an Apache access log file. When the log file exceeds a predefined limit (1GB), a Jenkins job is automatically triggered to upload the log file to an Amazon S3 bucket and then clear the original log file.</p><p>This automation helps manage large log files efficiently and prevents server storage issues.</p><h3>Architecture Diagram</h3><pre>User Traffic<br>                  │<br>                  ▼<br>        Apache Web Server (EC2)<br>                  │<br>        Access Log File Generated<br>      /var/log/apache2/access.log<br>                  │<br>                  ▼<br>        Monitoring Script (Shell)<br>            monitor_log.sh<br>                  │<br>         Cron Job (Runs every 5 min)<br>                  │<br>                  ▼<br>            Trigger Jenkins Job<br>                  │<br>                  ▼<br>              Jenkins Server<br>        upload-accesslog-to-s3 Job<br>                  │<br>                  ▼<br>        Upload Log File to S3 Bucket<br>                  │<br>                  ▼<br>         Amazon S3 (Log Storage)<br>                  │<br>                  ▼<br>        Clear Original Log File</pre><h3>Technologies Used</h3><ul><li>AWS EC2</li><li>Jenkins</li><li>Apache Web Server</li><li>AWS S3</li><li>AWS CLI</li><li>Shell Scripting</li><li>Cron Jobs</li><li>Linux (Ubuntu)</li></ul><h3>Project Workflow</h3><ol><li>Apache server generates an access log file.</li><li>A monitoring shell script checks the log file size.</li><li>If the log size exceeds 1GB, the script triggers a Jenkins job.</li><li>Jenkins uploads the log file to an Amazon S3 bucket.</li><li>After successful upload, the log file is cleared.</li><li>The monitoring script runs automatically using Cron every 5 minutes.</li></ol><h3>EC2 Instance Setup</h3><h3>Launch EC2 Instance</h3><ul><li>Instance Type: t2.micro</li><li>OS: Ubuntu</li><li>Open Ports:</li><li>22 (SSH)</li><li>8080 (Jenkins)</li><li>80 (HTTP)</li></ul><h3>Install Apache Server</h3><pre>sudo apt update<br>sudo apt install apache2 -y<br>sudo systemctl start apache2<br>sudo systemctl enable apache2<br>sudo systemctl status apache2</pre><p>Access log file location:</p><pre>/var/log/apache2/access.log</pre><h3>Install Jenkins</h3><pre>sudo apt update<br>sudo apt install openjdk-17-jdk -y</pre><p>Download Jenkins:</p><pre>wget https://pkg.jenkins.io/debian-stable/binary/jenkins_2.452.1_all.deb<br>sudo dpkg -i jenkins_2.452.1_all.deb</pre><p>Start Jenkins:</p><pre>sudo systemctl start jenkins<br>sudo systemctl enable jenkins<br>sudo systemctl status jenkins</pre><p>Open Jenkins in browser:</p><pre>http://&lt;EC2-PUBLIC-IP&gt;:8080</pre><p>Get initial password:</p><pre>sudo cat /var/lib/jenkins/secrets/initialAdminPassword</pre><h3>Install AWS CLI</h3><pre>sudo apt install unzip -y<br>curl &quot;https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip&quot; -o &quot;awscliv2.zip&quot;<br>unzip awscliv2.zip<br>sudo ./aws/install</pre><p>Verify installation:</p><pre>aws --version</pre><h3>Configure AWS CLI</h3><pre>aws configure</pre><p>Provide:</p><pre>AWS Access Key<br>AWS Secret Key<br>Region: ap-south-1<br>Output format: json</pre><p>Verify:</p><pre>aws s3 ls</pre><h3>Create S3 Bucket</h3><pre>aws s3 mb s3://jenkins-accesslog-bucket-2026 --region ap-south-1</pre><p>Verify bucket:</p><pre>aws s3 ls</pre><h3>Configure AWS CLI for Jenkins User</h3><pre>sudo su - jenkins<br>aws configure<br>aws s3 ls<br>exit</pre><h3>Jenkins Job Configuration</h3><p>Create new job:</p><pre>upload-accesslog-to-s3</pre><p>Job Type:</p><pre>Freestyle Project</pre><p>Build Step → Execute Shell</p><pre>LOG_FILE=&quot;/var/log/apache2/access.log&quot;<br>TEMP_FILE=&quot;/tmp/access.log&quot;<br>BUCKET=&quot;s3://jenkins-accesslog-bucket-2026&quot;</pre><pre>echo &quot;Copying log file...&quot;</pre><pre>sudo cp $LOG_FILE $TEMP_FILE</pre><pre>echo &quot;Uploading log file to S3...&quot;</pre><pre>aws s3 cp $TEMP_FILE $BUCKET/access.log</pre><pre>if [ $? -eq 0 ]; then<br>    echo &quot;Upload successful. Clearing log file...&quot;<br>    sudo truncate -s 0 $LOG_FILE<br>else<br>    echo &quot;Upload failed.&quot;<br>fi</pre><h3>Monitoring Script</h3><p>Create script:</p><pre>nano monitor_log.sh</pre><p>Script content:</p><pre>#!/bin/bash</pre><pre>LOG_FILE=&quot;/var/log/apache2/access.log&quot;<br>MAX_SIZE=$((1024*1024*1024))<br>JENKINS_URL=&quot;http://localhost:8080/job/upload-accesslog-to-s3/build&quot;</pre><pre>FILE_SIZE=$(stat -c%s &quot;$LOG_FILE&quot;)</pre><pre>echo &quot;Current log size: $FILE_SIZE bytes&quot;</pre><pre>if [ $FILE_SIZE -ge $MAX_SIZE ]; then<br>    echo &quot;Log file exceeded 1GB. Triggering Jenkins job...&quot;<br>    curl -X POST $JENKINS_URL<br>else<br>    echo &quot;Log file size is under limit.&quot;<br>fi</pre><p>Make script executable:</p><pre>chmod +x monitor_log.sh</pre><p>Test script:</p><pre>./monitor_log.sh</pre><h3>Cron Job Automation</h3><p>Open cron editor:</p><pre>crontab -e</pre><p>Add:</p><pre>*/5 * * * * /home/ubuntu/monitor_log.sh &gt;&gt; /home/ubuntu/log_monitor.log 2&gt;&amp;1</pre><p>This runs the monitoring script every 5 minutes.</p><h3>Screenshots</h3><h3>EC2 Instance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LXyyOGMX3vZigv3v.png" /></figure><h3>Apache Server Status</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WcSrTantcx-MWFcY.png" /></figure><h3>Jenkins Service Status</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZrdloZght8ZJ7WSC.png" /></figure><h3>Jenkins Dashboard</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uGyh0GDYfzxb2C1S.png" /></figure><h3>AWS CLI Installation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T92SNkRRqO-HDfQc.png" /></figure><h3>IAM User Created</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mhmeTGi9H5bKUIGS.png" /></figure><h3>IAM Access Key</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QGnEIi_ObMGfRVP1.png" /></figure><h3>AWS CLI Configure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xw8KwA9tS3wfw7NT.png" /></figure><h3>S3 Bucket Creation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GpJUf4Z8cdEb_spA.png" /></figure><h3>Jenkins Job Creation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D9UGsXYSZGZ-APOE.png" /></figure><h3>Access Log Verification</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I22LQxXRfZze21CD.png" /></figure><h3>Jenkins Build Success</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lu-EqebzQr817_JZ.png" /></figure><h3>Monitoring Script &amp; Cron</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uhTJRxcnAQe_bqLn.png" /></figure><h3>Project Outcome</h3><p>This project successfully demonstrates:</p><ul><li>Automated monitoring of log file size</li><li>Jenkins job automation</li><li>Integration with AWS S3</li><li>Efficient log management</li><li>Fully automated DevOps workflow</li></ul><h3>Conclusion</h3><p>This project demonstrates a practical DevOps automation workflow using Jenkins and AWS. By integrating log monitoring, Jenkins job automation, and Amazon S3 storage, the system ensures that large log files are handled efficiently without manual intervention.</p><p>Key achievements of this project:</p><ul><li>Automated monitoring of Apache access logs</li><li>Jenkins job triggered automatically when log size exceeds a threshold</li><li>Secure log file transfer to Amazon S3</li><li>Automatic cleanup of log files after successful upload</li><li>Fully automated monitoring using Cron scheduling</li></ul><p>This solution helps prevent server storage issues caused by large log files and showcases how DevOps tools can be used together to build scalable, automated infrastructure workflows.</p><h3>About Me</h3><p>Neha Pawar DevOps &amp; Cloud Enthusiast</p><h3>Connect with Me:</h3><p>GitHub <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><p>LinkedIn <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></p><p>Medium <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4e0063069d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Backup and Rotation Script with Google Drive Integration]]></title>
            <link>https://medium.com/@nehapawar29005/automated-backup-and-rotation-script-with-google-drive-integration-616becb2dc0c?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/616becb2dc0c</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 07:02:41 GMT</pubDate>
            <atom:updated>2026-03-07T08:57:34.631Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project implements an automated backup management system for a project directory hosted on GitHub. The script creates timestamped ZIP backups, stores them locally in a structured backup directory, uploads them to Google Drive using rclone, and maintains a rotational backup strategy.</p><p>The system also logs backup activities and sends a webhook notification using cURL when the backup process completes successfully.</p><h3>Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HvVzIR8YeEZETG9P4BSQdA.png" /></figure><h3>Technologies Used</h3><p>This project uses several tools and technologies to automate the backup process. The backup automation is implemented using a <strong>Bash script</strong>, which handles tasks such as creating compressed backup files and managing the backup workflow. The <strong>ZIP utility</strong> is used to compress the project directory into a timestamped archive.</p><p>For cloud storage integration, <strong>rclone</strong> is used to securely upload backup files to <strong>Google Drive</strong>. The backup process is scheduled using <strong>Cron</strong>, which allows the script to run automatically at defined intervals without manual intervention.</p><p>Additionally, <strong>cURL</strong> is used to send webhook notifications after a successful backup operation. The entire automation setup is executed on an <strong>AWS EC2 instance</strong>, which provides a reliable cloud environment for running the backup script continuously.</p><h3>Project Structure</h3><pre>backup-automation/<br>│<br>├── backup_script.sh<br>├── backup.log<br>├── config.env<br>├── README.md<br>│<br>└── img</pre><h3>Implementation Steps</h3><h3>Install Required Packages</h3><p>Install necessary utilities such as zip and curl.</p><pre>sudo apt update<br>sudo apt install zip curl -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*30qsw49U3xA72CbW.png" /></figure><h3>Install rclone Tool</h3><p>Install rclone for Google Drive integration.</p><pre>curl https://rclone.org/install.sh | sudo bash</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bPSfsvEdes46O_p5.png" /></figure><h3>Verify rclone Installation</h3><p>Verify that rclone has been installed correctly.</p><pre>rclone version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OeimZo-xESNYCt6v.png" /></figure><h3>Google Account Sign-In for rclone</h3><p>Start rclone configuration and sign in to your Google account.</p><pre>rclone config</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uliuXrQuKCmTyfzi.png" /></figure><h3>Grant Google Drive Permission</h3><p>Allow rclone to access your Google Drive account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DWkgAodsUibVOTxm.png" /></figure><h3>Complete rclone Authorization</h3><p>Complete authentication and generate the access token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D3dOBj5RdItv9PVN.png" /></figure><h3>Configure rclone Remote Storage</h3><p>Verify configured remote storage.</p><pre>rclone listremotes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_8rxQZG2df5yl5ud.png" /></figure><h3>Deploy and Run on AWS EC2</h3><p>Run the backup automation system on an AWS EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QE5ES54hNyfXECOL.png" /></figure><h3>Create Backup Automation Script</h3><p>Create the backup automation script.</p><pre>nano backup_script.sh</pre><p>Example script structure:</p><pre>#!/bin/bash</pre><pre>PROJECT_NAME=&quot;MyProject&quot;<br>SOURCE_DIR=&quot;/home/ubuntu/project&quot;</pre><pre>BACKUP_ROOT=&quot;$HOME/backups/$PROJECT_NAME&quot;</pre><pre>TIMESTAMP=$(date +&quot;%Y%m%d_%H%M%S&quot;)</pre><pre>YEAR=$(date +&quot;%Y&quot;)<br>MONTH=$(date +&quot;%m&quot;)<br>DAY=$(date +&quot;%d&quot;)</pre><pre>BACKUP_DIR=&quot;$BACKUP_ROOT/$YEAR/$MONTH/$DAY&quot;</pre><pre>mkdir -p $BACKUP_DIR</pre><pre>BACKUP_FILE=&quot;$BACKUP_DIR/${PROJECT_NAME}_${TIMESTAMP}.zip&quot;</pre><pre>zip -r $BACKUP_FILE $SOURCE_DIR</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KUZM54KgL1Z7OrmR.png" /></figure><h3>Verify Backup and Log File</h3><p>Verify that backup files and log entries are generated successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3rodEhbj2rOj2Olg.png" /></figure><h3>Schedule Backup using Cron Job</h3><p>Schedule automated backup execution.</p><pre>crontab -e</pre><p>Example cron job:</p><pre>0 2 * * * /home/ubuntu/backup_script.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uLloPOepDyaAm5Ah.png" /></figure><h3>Run Backup Automation Script</h3><p>Execute the backup script manually.</p><pre>./backup_script.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yL6C9AqVDR-O64_T.png" /></figure><h3>Backup Rotation Strategy</h3><p>Backup TypeRetentionDailyLast 7 backupsWeeklyLast 4 backupsMonthlyLast 3 months</p><p>Older backups are automatically deleted according to the rotation policy.</p><h3>Webhook Notification</h3><p>Send a webhook notification after successful backup.</p><pre>curl -X POST -H &quot;Content-Type: application/json&quot; \<br>-d &#39;{&quot;project&quot;:&quot;BackupProject&quot;,&quot;status&quot;:&quot;Backup Successful&quot;}&#39; \<br>https://webhook.site/your-url</pre><h3>Author</h3><p>Neha Pawar DevOps &amp; Cloud Enthusiast</p><p>Passionate about building automated cloud infrastructure, backup systems, and scalable DevOps workflows.</p><p>Connect with me:</p><ul><li>GitHub: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></li><li>LinkedIn: <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></li><li>Medium Blog: <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616becb2dc0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flask Student Registration Web Application]]></title>
            <link>https://medium.com/@nehapawar29005/flask-student-registration-web-application-fe30c18b268b?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe30c18b268b</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 13:45:47 GMT</pubDate>
            <atom:updated>2026-03-06T13:45:47.134Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project is a Flask-based Student Registration Web Application that allows users to register student details through a web form. The application stores the submitted data in a MySQL database and displays success confirmation after registration.</p><p>The project demonstrates end-to-end DevOps workflow, including version control, continuous integration, and deployment using GitHub, Jenkins, and AWS EC2.</p><p>The goal of this project is to understand:</p><ul><li>Flask web application development</li><li>Form handling in Python</li><li>Database integration with MySQL</li><li>Version control using Git &amp; GitHub</li><li>CI/CD pipeline using Jenkins</li><li>Cloud deployment on AWS EC2</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ST9bn5uMEL29ipgk.png" /></figure><h3>System Architecture</h3><p>Below is the high-level architecture of the application:</p><pre>User (Browser)<br>                 │<br>                 ▼<br>         Frontend (HTML/CSS)<br>                 │<br>                 ▼<br>        Flask Web Application<br>            (Python Flask)<br>                 │<br>                 ▼<br>           MySQL Database<br>         (Student Records)</pre><pre>------------------------------------</pre><pre>        Developer<br>             │<br>             ▼<br>       GitHub Repository<br>             │<br>             ▼<br>        Jenkins Pipeline<br>        (Build &amp; Deploy)<br>             │<br>             ▼<br>          AWS EC2<br>      (Flask Application)</pre><p>Workflow Explanation</p><ol><li>User fills the student registration form</li><li>Flask processes the request</li><li>Data is stored in MySQL database</li><li>Jenkins automatically deploys the application</li><li>Application runs on AWS EC2 server</li></ol><h3>Technology Stack</h3><p>LayerTechnologyFrontendHTML, CSSBackendPython FlaskDatabaseMySQLVersion ControlGit &amp; GitHubCI/CDJenkinsCloudAWS EC2</p><h3>Features</h3><ul><li>Student Registration Form -</li><li>Form validation</li><li>Data stored in MySQL database</li><li>Success message after submission</li><li>GitHub version control</li><li>Jenkins automated build pipeline</li><li>Deployment on AWS EC2</li></ul><h3>Project Structure</h3><pre>stud-reg-flask-app<br>│<br>├── app.py<br>├── requirements.txt<br>├── templates<br>│     └── index.html<br>│<br>├── screenshots<br>│<br>└── README.md</pre><h3>Setup Instructions (Local Setup)</h3><h3>1. Clone Repository</h3><pre>git clone https://github.com/Iamnehapawar/stud-reg-flask-app.git</pre><h3>2. Navigate to Project</h3><pre>cd stud-reg-flask-app</pre><h3>3. Create Virtual Environment</h3><pre>python -m venv venv</pre><h3>4. Activate Virtual Environment</h3><p>Windows</p><pre>venv\Scripts\activate</pre><p>Linux / Mac</p><pre>source venv/bin/activate</pre><h3>5. Install Dependencies</h3><pre>pip install -r requirements.txt</pre><h3>6. Run Application</h3><pre>python app.py</pre><p>Application will run on:</p><pre>http://127.0.0.1:5000</pre><h3>Database Setup (MySQL)</h3><p>Create database:</p><pre>CREATE DATABASE studentsdb;</pre><p>Use database:</p><pre>USE studentsdb;</pre><p>Create table:</p><pre>CREATE TABLE students (<br>id INT AUTO_INCREMENT PRIMARY KEY,<br>name VARCHAR(100),<br>email VARCHAR(100),<br>phone VARCHAR(20),<br>course VARCHAR(50),<br>address VARCHAR(255)<br>);</pre><h3>Jenkins CI/CD Pipeline</h3><p>The project uses Jenkins for automated deployment.</p><h3>Jenkins Workflow</h3><ol><li>Jenkins pulls latest code from GitHub</li><li>Installs Python dependencies</li><li>Runs Flask application</li><li>Deploys application on EC2 instance</li></ol><p>Example Jenkins build step:</p><pre>cd /var/lib/jenkins/workspace/flask-student-app<br>python3 -m venv venv<br>source venv/bin/activate<br>pip install -r requirements.txt<br>pkill -f app.py || true<br>nohup python app.py &amp;</pre><h3>Deployment on AWS EC2</h3><p>Steps followed:</p><ol><li>Launch EC2 instance</li><li>Install Python, pip and Git</li><li>Install Jenkins</li><li>Configure Jenkins job</li><li>Deploy Flask application</li><li>Access application using public IP</li></ol><p>Example:</p><pre>http://65.0.203.239:5000</pre><h3>Project Screenshots</h3><h3>1. Git Clone Repository</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VIOrJpCjRXQKhW0O.png" /></figure><h3>2. Installing Dependencies</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q6_Cow5mTgmMjdJo.png" /></figure><h3>3. Student Registration Success</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y-54aTJIn5chAWP6.png" /></figure><h3>4. MySQL Database Records</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FYr3lj_4eghhpjSi.png" /></figure><h3>5. GitHub Commit History</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FWY6BrV8g9q2IJKg.png" /></figure><h3>6. EC2 Dependency Installation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gfDaQ6Ro6bJTyR8g.png" /></figure><h3>7. Jenkins Dashboard</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*K1bp1_vurT6mH2n_.png" /></figure><h3>8. Live Application on EC2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6lJwZTVAw0ahydb3.png" /></figure><h3>9. Jenkins Build Success</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TVwe_ebvN6TzUa-N.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u69tMMO_Uqw38_9Z.png" /></figure><h3>10. AWS EC2 Instance Running</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jcBY7h68t7qQYld6.png" /></figure><h3>Learning Outcomes</h3><p>Through this project, I gained hands-on experience in:</p><ul><li>Flask web development</li><li>Python backend development</li><li>Database integration with MySQL</li><li>Git &amp; GitHub version control</li><li>CI/CD pipeline with Jenkins</li><li>Cloud deployment using AWS EC2</li></ul><h3>Author</h3><p>Neha Pawar</p><p>Aspiring DevOps Engineer | Cloud Computing Enthusiast | CI/CD Learner</p><p>GitHub: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><p>Medium Blog: <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></p><p>LinkedIn: <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe30c18b268b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS VPC Flow Logs to S3 — Network Traffic Monitoring]]></title>
            <link>https://medium.com/@nehapawar29005/aws-vpc-flow-logs-to-s3-network-traffic-monitoring-c612093abf34?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c612093abf34</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 09:28:10 GMT</pubDate>
            <atom:updated>2026-03-05T09:28:10.270Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview:</h3><p>This project demonstrates how to capture and store network traffic logs from an AWS VPC using VPC Flow Logs and Amazon S3.</p><p>In this project:</p><ul><li>Network traffic is generated from an EC2 instance</li><li>VPC Flow Logs capture the traffic metadata</li><li>Logs are delivered securely to Amazon S3</li><li>IAM Role and policies ensure proper access permissions</li></ul><p>This architecture helps in security auditing, troubleshooting connectivity issues, and analyzing network behavior in AWS environments.</p><h3>Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oqp5gvGOepR3Sdry.png" /></figure><h3>Architecture Explanation</h3><p>The architecture works as follows:</p><ol><li>An EC2 instance generates network traffic inside the VPC.</li><li>The VPC network layer monitors traffic passing through network interfaces.</li><li>VPC Flow Logs capture metadata of the network traffic such as source IP, destination IP, ports, and action.</li><li>An IAM Role provides the required permissions for log delivery.</li><li>Flow logs are delivered to an Amazon S3 bucket.</li><li>The S3 bucket stores the logs in compressed .log.gz format for further analysis.</li></ol><p>This setup helps teams analyze network traffic patterns and detect potential security issues.</p><h3>AWS Services Used</h3><p>ServicePurposeAmazon VPCProvides isolated virtual networkVPC Flow LogsCaptures network traffic metadataAmazon EC2Generates network trafficAmazon S3Stores network logsAWS IAMProvides secure permissions</p><h3>Project Architecture Flow</h3><pre>Internet Traffic<br>        │<br>        ▼<br>EC2 Instance<br>        │<br>        ▼<br>VPC Network<br>        │<br>        ▼<br>VPC Flow Logs<br>        │<br>        ▼<br>IAM Role (Log Delivery Permissions)<br>        │<br>        ▼<br>Amazon S3 Bucket<br>        │<br>        ▼<br>Stored Network Logs (.log.gz)</pre><h3>Project Implementation Steps</h3><h3>Step 1 — Create an S3 Bucket</h3><p>Create a dedicated S3 bucket to store the VPC Flow Logs.</p><p>Example bucket name:</p><pre>cloud-network-traffic-logs</pre><p>Enable the following settings:</p><ul><li>Block all public access</li><li>Default encryption enabled</li></ul><h3>Step 2 — Configure Bucket Policy</h3><p>Allow VPC Flow Logs service to write logs to the S3 bucket.</p><p>Example policy:</p><pre>{<br> &quot;Version&quot;: &quot;2012-10-17&quot;,<br> &quot;Statement&quot;: [<br>  {<br>   &quot;Sid&quot;: &quot;VPCFlowLogsWrite&quot;,<br>   &quot;Effect&quot;: &quot;Allow&quot;,<br>   &quot;Principal&quot;: {<br>    &quot;Service&quot;: &quot;vpc-flow-logs.amazonaws.com&quot;<br>   },<br>   &quot;Action&quot;: &quot;s3:PutObject&quot;,<br>   &quot;Resource&quot;: &quot;arn:aws:s3:::cloud-network-traffic-logs/*&quot;<br>  }<br> ]<br>}</pre><h3>Step 3 — Create IAM Role</h3><p>Create an IAM role for VPC Flow Logs.</p><p>Trusted entity:</p><pre>vpc-flow-logs.amazonaws.com</pre><p>Attach policy allowing S3 write access.</p><h3>Step 4 — Enable VPC Flow Logs</h3><p>Navigate to:</p><pre>VPC → Your VPCs → Flow Logs → Create Flow Log</pre><p>Configuration used:</p><p>SettingValueTraffic TypeAllDestinationAmazon S3Bucketcloud-network-traffic-logsLog FormatDefaultAggregation Interval10 minutes</p><h3>Step 5 — Launch EC2 Instance</h3><p>Launch a small EC2 instance to generate network traffic.</p><p>Instance type used:</p><pre>t2.micro</pre><h3>Step 6 — Generate Network Traffic</h3><p>Connect to the EC2 instance and generate traffic using:</p><pre>ping google.com</pre><p>This ensures that network activity is recorded in the VPC Flow Logs.</p><h3>Logs Stored in S3</h3><p>After enabling Flow Logs and generating traffic, logs are stored in the S3 bucket.</p><p>Example file format:</p><pre>274213481093_vpcflowlogs_ap-south-1_fl-xxxxxxxx.log.gz</pre><p>Path structure:</p><pre>S3 Bucket<br> └ AWSLogs<br>     └ Account-ID<br>         └ vpcflowlogs<br>             └ Region<br>                 └ Year<br>                     └ Month<br>                         └ Day<br>                             └ Log Files</pre><h3>Sample VPC Flow Log Record</h3><p>Example log entry:</p><p>2 274213481093 eni-abc123 172.31.12.25 142.250.194.238 443 49152 6 10 840 ACCEPT OK</p><p>This log entry represents network traffic captured by <strong>VPC Flow Logs</strong>.<br>The <strong>version</strong> indicates the flow log format version, while <strong>account-id</strong> identifies the AWS account. The <strong>interface-id</strong> shows which network interface handled the traffic.</p><p>The <strong>srcaddr</strong> and <strong>dstaddr</strong> represent the source and destination IP addresses, and <strong>srcport</strong> and <strong>dstport</strong> indicate the communication ports used.</p><p>The <strong>protocol</strong> specifies the network protocol (such as TCP or UDP), while <strong>packets</strong> and <strong>bytes</strong> show how much data was transferred.</p><p>Finally, the <strong>action</strong> field indicates whether the traffic was <strong>ACCEPTED or REJECTED</strong>, and <strong>log-status</strong> confirms whether the log was successfully recorded.</p><h3>Screenshots</h3><h3>EC2 Instance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VKevmwhKSkLtD9iv.png" /></figure><h3>IAM Role Created</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0AehLj2JgQ7Km_ta.png" /></figure><h3>IAM Role Policy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eWUDja5f6WJSTr-c.png" /></figure><h3>VPC Flow Log Configuration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3ivxlusPk03ubYB0.png" /></figure><h3>Flow Log Active</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zNSI45O78dfdTSSV.png" /></figure><h3>EC2 Traffic Generation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xjyymCnhB9oncSas.png" /></figure><h3>Logs Stored in S3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wcFaueXxGuPFHGMx.png" /></figure><h3>Key Learnings</h3><p>Through this project I gained hands-on experience with:</p><ul><li>AWS VPC networking</li><li>VPC Flow Logs configuration</li><li>IAM roles and policies</li><li>S3 bucket permissions</li><li>Network traffic monitoring in AWS</li></ul><h3>Conclusion</h3><p>This project demonstrates how AWS VPC Flow Logs can be used to monitor and analyze network traffic within a VPC environment.</p><p>By integrating EC2, VPC Flow Logs, IAM roles, and Amazon S3, organizations can build a centralized system to store and analyze network logs for security auditing, troubleshooting, and traffic monitoring.</p><h3>Author</h3><p>Neha Pawar</p><p>DevOps &amp; Cloud Enthusiast</p><p>GitHub: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><p>Medium Blog: <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></p><p>LinkedIn: <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c612093abf34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dockerized Three-Tier Web Application]]></title>
            <link>https://medium.com/@nehapawar29005/dockerized-three-tier-web-application-0046ab83d079?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0046ab83d079</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 14:00:08 GMT</pubDate>
            <atom:updated>2026-01-15T14:00:08.536Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project demonstrates a Dockerized Three-Tier Web Application deployed using Docker Compose.<br>The application is hosted on an AWS EC2 instance and follows a standard industry-level architecture.</p><p>The project includes:</p><ul><li>Web Layer (Nginx) — Serves the signup form</li><li>Application Layer (PHP-FPM) — Processes form submission</li><li>Database Layer (MySQL) — Stores user data</li><li>Docker Compose — Orchestrates containers and networking</li></ul><h3>Project Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WbWcp2zcb-tBfom0.png" /></figure><p>Flow: User → Nginx (Web) → PHP-FPM (App) → MySQL (DB)</p><h3>Project Directory Structure</h3><pre>threetier/<br>├── web/<br>│   ├── code/<br>│   │   └── signup.html<br>│   └── config/<br>│       └── default.conf<br>│<br>├── app/<br>│   └── code/<br>│       └── submit.php<br>│<br>├── db/<br>│   ├── Dockerfile<br>│   └── init.sql<br>│<br>└── docker-compose.yml</pre><h3>Tools &amp; Technologies</h3><h3>Tools &amp; Technologies Used</h3><ul><li>Docker — Containerization platform</li><li>Docker Compose — Multi-container orchestration</li><li>Nginx — Web server</li><li>PHP-FPM — Backend application processing</li><li>MySQL — Relational database</li><li>AWS EC2 — Cloud hosting environment</li></ul><h3>Docker Configuration Details</h3><ul><li>MySQL database initialized using Dockerfile and init.sql</li><li>Separate Docker networks for web and database layers</li><li>Persistent volume used for MySQL data</li><li>Container dependency managed using depends_on</li></ul><h3>Step-by-Step Implementation</h3><h3>Step 1: Create Project Directories</h3><p>Create separate folders for web, application, and database layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8gv8d4cVqJ_elbK0.png" /></figure><h3>Step 2: Start Nginx Container</h3><p>Run the Nginx container to verify the web layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*00_U7MkfjbYiZrtW.png" /></figure><h3>Step 3: Configure Application and Database Files</h3><ul><li>Create signup.html for the signup form</li><li>Write submit.php to handle form submission</li><li>Create init.sql for database initialization</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DPYx52ubhIFK6BcX.png" /></figure><h3>Step 4: Run Docker Compose</h3><p>Start all services using Docker Compose.</p><p>docker compose up -d</p><h3>Step 5: Verify Running Containers</h3><p>Check whether all containers are running properly.</p><p>docker ps</p><h3>Step 6: Open Signup Form</h3><p>Access the application using the EC2 public IP in the browser.</p><p>http://&lt;EC2-IP&gt;/signup.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Peu5cFMHAEX101ml.png" /></figure><h3>Step 7: Submit the Form</h3><p>Fill in the signup form and submit the data.<br> A success message will be displayed after submission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aoDOQio4r5B2QGDH.png" /></figure><h3>Step 8: Verify Database Entry</h3><p>Log in to the MySQL container and verify the stored data.</p><p>SELECT * FROM users;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f9WzZy45aoqrKdvJ.png" /></figure><h3>Database Details</h3><ul><li>Database Name: FCT</li><li>Table Name: users</li><li>Columns: id, name, email, website, comment, gender</li></ul><h3>Learning Outcomes</h3><ul><li><strong>Docker Containers:</strong> Created and managed containers</li><li><strong>Docker Compose:</strong> Orchestrated multi-container application</li><li><strong>Three-Tier Architecture:</strong> Implemented web, app, and DB separation</li><li><strong>PHP &amp; MySQL:</strong> Stored and retrieved form data</li><li><strong>Docker Networking:</strong> Used multiple Docker networks</li><li><strong>AWS EC2:</strong> Deployed application on cloud server</li></ul><h3>Conclusion</h3><p>This project provides hands-on experience with real-world Docker-based deployment using a three-tier architecture.<br>It demonstrates container orchestration, networking, persistent storage, and cloud deployment using AWS EC2.</p><h3>Author</h3><p>Neha Pawar</p><p>Github: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><p>Medium Blog: <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></p><p>Linkedin : <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0046ab83d079" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dockerized Node.js & Python Application Deployment with Nginx Proxy]]></title>
            <link>https://medium.com/@nehapawar29005/dockerized-node-js-python-application-deployment-with-nginx-proxy-13559c2086bf?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/13559c2086bf</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 13:48:53 GMT</pubDate>
            <atom:updated>2026-01-10T13:48:53.477Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This project demonstrates a Docker-based deployment workflow for Node.js and Python applications served via an Nginx reverse proxy on an AWS EC2 instance. The focus is on a clear, repeatable deployment process without any external CI/CD tools.</p><h3>Tech Stack</h3><ul><li>AWS EC2 (Amazon Linux)</li><li>Docker</li><li>Nginx (proxy_pass)</li><li>Node.js</li><li>Python (Flask)</li></ul><h3>Architecture</h3><pre>Client Request<br>   ↓<br>Nginx (Reverse Proxy)<br>   ↓<br>Node.js Microservice (Docker Container)<br>   ↓<br>Python Microservice (Docker Container)<br>   ↓<br>Response to Client</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rcRCqRq1jznrARIt.png" /></figure><h3>Implementation Steps</h3><h3>1. EC2 Setup</h3><ul><li>SSH into AWS EC2 instance and prepare environment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4VZEfb9B3GoNoqsL.png" /></figure><h3>2. Node.js Dockerization</h3><p>Dockerfile:</p><pre>FROM node<br>WORKDIR /nodeapp<br>COPY . .<br>RUN npm install package.json<br>EXPOSE 3000<br>CMD [&quot;node&quot;, &quot;app.js&quot;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Gjd6eoelIbvorQlI.png" /></figure><h3>3. Python Dockerization</h3><p>Dockerfile:</p><pre>FROM python:3.8-alpine<br>WORKDIR /pythonapp<br>COPY . .<br>RUN pip install -r requirements.txt<br>EXPOSE 5000<br>CMD [&quot;python&quot;, &quot;app.py&quot;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4jmAuF6gg5w6Agps.png" /></figure><h3>4. Nginx Reverse Proxy</h3><p>Routes traffic to backend services using proxy_pass:</p><pre>server {<br>    listen 80;<br>    location / {<br>        proxy_pass http://nodeapp:3000;<br>    }<br>    location /python {<br>        proxy_pass http://pythonapp:5000;<br>    }<br>}</pre><h3>5. Run Containers</h3><ol><li>Build Node.js image: docker build -t nodeapp ./node-app</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4rcZ2Uq7YvcAYWnX.png" /></figure><p>2. Build Python image: docker build -t python-app ./pythonapp</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fr8mNx0t8-HYiWGi.png" /></figure><ol><li>Run Node.js container: docker run -d --name nodeapp nodeapp</li></ol><p>2. Run Python container: docker run -d --name pythonapp pythonapp</p><p>3. Run Nginx container: docker run -d -p 80:80 --name nginx-proxy --link nodeapp --link pythonapp nginx</p><h3>6. Access Application</h3><p>Open browser: http://&lt;EC2-Public-IP&gt;</p><ul><li>Node.js app at /</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Go9ULc_mRm1v79F.png" /></figure><ul><li>Python app at /python</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yG_K4Fwv6Ahz9E_Z.png" /></figure><h3>Key Highlights</h3><ul><li>2-tier microservice architecture</li><li>Dockerized Node.js and Python applications</li><li>Nginx reverse proxy</li><li>Clear, repeatable deployment workflow</li><li>Screenshots to verify each step</li><li>Industry-relevant, beginner-friendly setup</li></ul><h3>Learning Outcomes</h3><ul><li>Docker image building and container management</li><li>Nginx reverse proxy configuration</li><li>Multi-application deployment on a single EC2</li><li>Microservice architecture understanding</li><li>Use of screenshots for clear documentation</li></ul><h3>Conclusion</h3><p>This project demonstrates a structured Docker-based deployment workflow with Node.js and Python applications behind Nginx. Screenshots provide visual proof of each stage, ensuring clarity for GitHub, LinkedIn, or Medium audiences.</p><h3>Author</h3><p>Neha Pawar</p><p>Github: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><p>Medium Blog: <a href="https://medium.com/@nehapawar29005">https://medium.com/@nehapawar29005</a></p><p>Linkedin : <a href="https://www.linkedin.com/in/neha-pawar-3ba4a131b">https://www.linkedin.com/in/neha-pawar-3ba4a131b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13559c2086bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Bind Mount with Nginx on AWS EC2]]></title>
            <link>https://medium.com/@nehapawar29005/docker-bind-mount-with-nginx-on-aws-ec2-0f9d4bd783b0?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f9d4bd783b0</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 12:20:24 GMT</pubDate>
            <atom:updated>2026-01-09T12:20:24.855Z</atom:updated>
            <content:encoded><![CDATA[<p>Docker Bind Mount Implementation for Static Website Deployment using Nginx on AWS EC2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3NFImfQcmLP_O4qS.png" /></figure><h3>Project Description</h3><p>This project demonstrates a real-world hands-on implementation of Docker Bind Mount by deploying a static website using an Nginx container on an AWS EC2 (Amazon Linux ) instance.</p><p>The main goal of this project is to understand how files from the host machine can be directly mounted inside a Docker container and updated in real time without rebuilding the container image.</p><p>This project is ideal for DevOps beginners who want a clear and practical understanding of Docker storage concepts.</p><h3>Technology Stack</h3><p>The project uses <strong>AWS EC2 (Amazon Linux)</strong> for cloud hosting, <strong>Docker</strong> for containerization, and <strong>Nginx</strong> as the web server.<br> System access and file transfers were handled using <strong>Linux, SSH, and SCP</strong>, while the frontend was built using <strong>static HTML pages</strong>.</p><h3>Learning Outcomes</h3><p>This project helped me understand secure EC2 access using <strong>SSH and SCP</strong>, Docker container lifecycle management, and the practical use of <strong>Bind Mounts</strong> for live file synchronization.<br> I also learned to host a static website using <strong>Nginx</strong> and access it through the <strong>EC2 Public IP</strong>.</p><h3>Project Structure (Host Machine)</h3><p>The static website files were created on the host machine inside the directory:</p><p>/home/ec2-user/bkp/</p><p>This directory contains the following files:</p><ul><li><strong>index.html</strong> — Home page</li><li><strong>login.html</strong> — Login page</li><li><strong>mobile.html</strong> — Mobile page</li></ul><p>The entire directory was <strong>bind-mounted directly into the Docker container</strong>, allowing the Nginx web server to serve these files without copying them into the image.<br> Any changes made to these files on the host machine were instantly reflected inside the container.</p><h3>Container Structure</h3><p>Inside the Docker container, <strong>Nginx uses </strong><strong>/usr/share/nginx/html as its default web root directory</strong>.<br> The host machine directory was <strong>bind-mounted to this path</strong>, allowing Nginx to directly serve the website files from the host system.</p><p>As a result, all HTML files present on the host machine became immediately available inside the container without copying or rebuilding the Docker image.<br> This setup clearly demonstrates the practical use of <strong>Docker Bind Mounts</strong>.</p><h3>Step-by-Step Implementation</h3><ol><li><strong>Connect to AWS EC2 using SSH</strong> — Securely connected to the EC2 instance.</li><li><strong>2. Create website files in the host directory</strong> — Prepared static website files inside /home/ec2-user/bkp/.</li><li><strong>Pull the Nginx Docker image</strong> — Pulled the official Nginx image from Docker Hub.</li><li><strong>Run Nginx container with Bind Mount</strong> — Mounted the host directory into the container and started the Nginx container.</li><li><strong>Verify files inside the container</strong> — Checked that the host files are correctly mapped inside the container.</li><li><strong>Access the website via browser</strong> — Opened the website using EC2 Public IP and confirmed real-time updates work.</li></ol><h3>Docker Command Used</h3><pre>docker run -d -p 80:80 --name mynginx -v /home/ec2-user/bkp:/usr/share/nginx/html nginx</pre><h3>Browser Output</h3><p>The website was successfully accessed using:</p><p><a href="http://ec2-public-ip/">http://EC2-PUBLIC-IP</a></p><p>Changes made in the host directory were instantly reflected in the browser without restarting the container.</p><h3>Screenshots</h3><p>Home Page: <a href="http://ec2-public-ip/home.html">http://EC2-Public-IP/home.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jc31rTlq-9o1ngir.png" /></figure><p>Login Page: <a href="http://ec2-public-ip/login.html">http://EC2-Public-IP/login.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HgfmJorLNlGKGfdg.png" /></figure><p>Mobile Page: <a href="http://ec2-public-ip/mobile.html">http://EC2-Public-IP/mobile.html</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1M-pCGtdebAgJ-hS.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KTSEnBM2GWYkaNLa.png" /></figure><h3>Key Concept: Docker Bind Mount</h3><ul><li><strong>Direct Mapping:</strong> The host directory is directly mapped into the container, so any changes on the host are immediately reflected inside the container.</li><li><strong>Persistence:</strong> Data remains safe on the host even if the container is removed.</li><li><strong>No Rebuild:</strong> There is no need to rebuild the Docker image to see changes in the container.</li><li><strong>Best Use:</strong> Ideal for development and learning purposes, allowing real-time updates and experimentation.</li></ul><h3>Author</h3><p>Neha Pawar</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f9d4bd783b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WordPress Architecture Deployment on Docker ]]></title>
            <link>https://medium.com/@nehapawar29005/wordpress-architecture-deployment-on-docker-f227dd649852?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f227dd649852</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 11:42:41 GMT</pubDate>
            <atom:updated>2026-01-03T11:42:41.369Z</atom:updated>
            <content:encoded><![CDATA[<p>A professional DevOps project demonstrating the deployment of a WordPress application using Docker with a MySQL database using a 2-Tier Architecture.</p><p>This project highlights containerization, isolation of services, and real-world Docker-based deployment.</p><h3>Project Overview</h3><p>This project demonstrates how to deploy a WordPress website using Docker containers. WordPress runs as the application tier while MySQL runs as the database tier. Both services run in isolated containers and communicate using Docker networking.</p><p>Docker makes the deployment portable, scalable, and easy to manage.</p><h3>Architecture Diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/0*xxkT8CGojPYK1sJd.png" /></figure><h3>Architecture Type</h3><p>2-Tier Architecture</p><p>Tier 1 — Application Tier: WordPress<br>Tier 2 — Database Tier: MySQL</p><h3>Technologies Used</h3><p>Docker<br>Docker Hub Images<br>Linux / Ubuntu<br>WordPress<br>MySQL<br>Web Browser</p><h3>Prerequisites</h3><p>Docker installed and running<br>Basic Docker and WordPress knowledge<br>Linux system or Cloud VM (EC2)</p><h3>Steps to Deploy WordPress Using Docker</h3><h3>Step 1: Launch an EC2 Instance</h3><p>Launch a Linux/(Ubuntu) EC2 instance and connect using SSH.</p><h3>Step 2: Install Docker</h3><pre>sudo apt update  <br>sudo apt install docker -y  <br>sudo systemctl start docker  <br>sudo systemctl enable docker</pre><p>Verify Docker installation:</p><pre>docker --version</pre><h3>Step 3: Pull Required Docker Images</h3><p>docker pull mysql:5.7<br>docker pull wordpress</p><h3>Step 4: Create MySQL Container</h3><pre>docker run -d  <br>--name mydb  <br>-e MYSQL_ROOT_PASSWORD=root  <br>-e MYSQL_DATABASE=wordpressdb  <br>mysql:5.7</pre><h3>Step 5: Create WordPress Container</h3><pre>docker run -d -p 80:80  <br>--name wordpressapp  <br>-e WORDPRESS_DB_HOST=mydb  <br>-e WORDPRESS_DB_USER=root  <br>-e WORDPRESS_DB_PASSWORD=root  <br>-e WORDPRESS_DB_NAME=wordpressdb  <br>--link mydb:mysql  <br>wordpress</pre><h3>Command Explanation</h3><pre>-p 80:80 exposes WordPress on the browser  <br>WORDPRESS_DB_HOST specifies the MySQL container name  <br>--link connects the WordPress container to the MySQL container</pre><h3>Access WordPress in Browser</h3><p>Open your browser and visit</p><pre>http://&lt;SERVER-IP&gt;:80</pre><h3>Project Screenshots</h3><h3>WordPress Installation Page</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TavIK_cmphqxK0VD.png" /></figure><h3>WordPress Admin Dashboard</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Iv420gDONOmLAeDo.png" /></figure><h3>MySQL Database Verification</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Sh5J79yBTXbhCw2I.png" /></figure><h3>Verify Running Containers</h3><pre>docker ps</pre><h3>Execute Commands Inside Container</h3><pre>docker exec -it &lt;container_id&gt; /bin/bash  </pre><pre>Access MySQL  </pre><pre>mysql -u root -p</pre><h3>Environment Variables Explanation</h3><p>WORDPRESS_DB_HOST — MySQL container name<br>WORDPRESS_DB_USER — Database username<br>WORDPRESS_DB_PASSWORD — Database password<br>WORDPRESS_DB_NAME — Database name</p><h3>Advantages of Using Docker for WordPress</h3><p>Easy and fast setup<br>Platform independent<br>Isolated application environment<br>Scalable architecture<br>Beginner-friendly DevOps project</p><h3>Key Learnings</h3><p>Docker container creation<br>Multi-container application deployment<br>WordPress and MySQL integration<br>2-Tier architecture implementation<br>Real-world DevOps workflow</p><h3>Conclusion</h3><p>This project demonstrates a complete 2-Tier WordPress Architecture using Docker where application and database layers are isolated for better scalability and manageability.</p><p>It is ideal for DevOps beginners, cloud learners, and interview preparation.</p><h3>Author</h3><p>Neha Pawar</p><p>GitHub: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f227dd649852" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Nginx Deployment on AWS EC2]]></title>
            <link>https://medium.com/@nehapawar29005/docker-nginx-deployment-on-aws-ec2-4513419e8d57?source=rss-e2c3c5fc112c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4513419e8d57</guid>
            <dc:creator><![CDATA[Neha pawar]]></dc:creator>
            <pubDate>Mon, 29 Dec 2025 13:51:27 GMT</pubDate>
            <atom:updated>2025-12-29T13:51:27.309Z</atom:updated>
            <content:encoded><![CDATA[<p>A professional DevOps project demonstrating how to deploy a Dockerized web application using Nginx on an AWS EC2 instance.</p><p>This project focuses on Docker fundamentals, containerized deployments, and hosting a live application on the cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6e-m_ZakBMdkLE1V.gif" /></figure><h3>Project Overview</h3><p>This project demonstrates how a static web application is containerized using Docker and served via Nginx on an AWS EC2 instance.</p><p>The application runs inside a Docker container and is accessible publicly using the EC2 public IP and mapped port.</p><h3>Technologies Used</h3><ul><li>AWS EC2</li><li>Docker</li><li>Nginx</li><li>HTML &amp; CSS</li><li>Amazon Linux</li><li>Git &amp; GitHub</li></ul><h3>Dockerfile Description</h3><ul><li>Uses the official Nginx base image</li><li>Copies the custom HTML file to Nginx web directory</li><li>Serves the application on port 80</li></ul><h3>Deployment Steps</h3><h3>1. Launch EC2 Instance</h3><ul><li>Instance type: t2.micro</li><li>OS: Amazon Linux</li><li>Open ports:</li><li>22 (SSH)</li><li>Custom application port (example: 32771)</li></ul><h3>2. Install Docker on EC2</h3><p>sudo yum update -y<br>sudo yum install docker -y<br>sudo systemctl start docker<br>sudo systemctl enable docker<br>sudo usermod -aG docker ec2-user</p><h3>3. Build Docker Image</h3><p>docker build -t nginx-app .</p><h3>4. Run Docker Container</h3><p>docker run -d -p 32771:80 nginx-app</p><h3>Access the Application</h3><p><a href="http://:32771">http://:32771</a></p><p>Example:<br><a href="http://3.109.123.71:32771/">http://3.109.123.71:32771</a></p><h3>Output</h3><p>Application deployed successfully using Nginx<br>Docker container is LIVE &amp; HEALTHY<br>Hosted on AWS EC2<br>Accessible via public IP</p><h3>Screenshots Included</h3><ul><li>EC2 instance running state</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mRdML9L0AQA7ZM2M.png" /></figure><ul><li>Apache HTTPD Default Page Verification</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WePqe2B1KAO0y0KM.png" /></figure><ul><li>Containerized Application Output</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M_6FmWa1PA8kimZV.png" /></figure><ul><li>Application running in browser</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*baDsQgkyp4kgXHE2.png" /></figure><h3>Key Learnings</h3><ul><li>Docker installation and setup</li><li>Writing Dockerfiles</li><li>Building Docker images</li><li>Running containers with port mapping</li><li>Deploying containerized applications on AWS EC2</li><li>Using Nginx as a web server inside Docker</li></ul><h3>Future Enhancements</h3><ul><li>Docker Compose setup</li><li>CI/CD pipeline using Jenkins</li><li>HTTPS configuration</li><li>Deployment using AWS ECS</li></ul><h3>Author</h3><p>Neha Pawar</p><p>GitHub: <a href="https://github.com/Iamnehapawar">https://github.com/Iamnehapawar</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4513419e8d57" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>