Beafing up Your server For ProductionšŸ„
dev.toĀ·1dĀ·
Discuss: DEV
šŸ–„ļøSelf-hosting
Preview
Report Post

Let’s say you are ready for production. Now you want to host your services on the cloud. Are you production ready? I am going to give a step by step guide of how to beaf up your production server to prevent various attacks and make sure your server is safe. Let’s start shall we. I am going to use linode. Since this is a small scale production server. I am going to set up a shared vps. I will use the 2GB linode for now.

Make sure to set a very strong password then set up ssh. To set up the ssh key. On your local machine, then generate the keys if you don’t have. I decided to go with ed25519 formart

ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub

Once created. You’ll need to add the .pub into your ssh section in linode when creating it. You can choose to add a back…

Similar Posts

Loading similar posts...