Deployed a static website on AWS EC2 using Git, GitHub, and Nginx
dev.to·1d·
Discuss: DEV
🌿Git
Preview
Report Post

As part of the DevOps Micro Internship (DMI) Cohort-2, I completed an assignment focused on applying Git, GitHub, and Linux deployment workflows by building and versioning a small project and deploying it to a live AWS EC2 server.

I set up a local Git repository, staged files, wrote meaningful commit messages, and pushed changes to a remote GitHub repository. I then deployed the same versioned code to an Amazon Linux EC2 instance using Nginx to serve static content.

During deployment, I installed and managed Nginx, handled file ownership and permissions, and ensured the site was served correctly from the Nginx web root. I identified differences between Amazon Linux and Ubuntu Nginx defaults and resolved 403 Forbidden errors by correcting permissions and verifying configuration file…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help