Pass .env variables in AWS EC2 Instance.

.env in aws

This article is for those people who have an instance running on AWS EC2 and they have a new update and that update needs to pass some secret info like an api key or a password which we usually pass through .env file during our development.

So, I also got this problem, i added a new functionality in my node.js backend which was deployed on Elastic beanstalk and it took me some time to find the…

--

--

--

Full Stack Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Texture Atlasing: An Inside Look At Optimizing 3D Worlds!

Version Control with Git

Adoption of Tech words in Tamil..

Infra As Code — Terraform (4) Add New EBS Volume To AWS EKS Cluster

Repeated String — HackerRank C++ Implementation

What people don’t know about polymorphism

Mac Keystroke For Paste Text Without Formatting

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prateek Diwedi

Prateek Diwedi

Full Stack Developer

More from Medium

Installing AWS CLI with Dockers

Launching an EC2 Instance for deploying microservices

Use OpenID Connect to Authenticate AWS Account in GitHub Actions

Creates High Availability Architecture using AWS Cli