Sign in

Outsystems Professional Web Developer for over 10 years and also as a DevOps engineer. Trying to share my knowledge and experience of all things IT.

So you got a new cloud server and you want to start installing your new applications on it, but first you should think about security.

In this short article I will describe 3 simple and quick tips to help secure your cloud server.

1 — Create a normal user (non root user)

For security reasons is always a good idea to login with a non-root user to prevent accidental (or intentional) misuse.

The command for this is quite easy, let’s say I want to add a new user called ‘nunobispo’:

adduser nunobispo

You will be asked to fill in a password and at least a name for the new…

FastAPI is a powerful API framework for Python that allows to quickly create and develop APIs in Python. But how to deploy those APIs ?

What is FastAPI?

From the FastAPI website:

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

What does this mean? It means that FastAPI allows to quickly build and develop APIs with some powerful features:

  • OpenAPI for API declaration
  • Automatic data model documentation with JSON Schema
  • Automatic client code generation in many languages
  • Automatic docs with Swagger UI (allows testing the API from the docs) and ReDoc

A revolutionary way of doing solo business

How be be a freelancer

If you are a working as a freelancer, you will need to have your own company or be registered as one man business.

There is nothing wrong with that, but running a business takes time and money. You need to take care of your legal obligations, provide reports to authorities, register your company, etc…

Depending on your country, the rules to create a business vary, and they can go from just deliver paperwork to provide the initial startup capital.

All of this takes time, money and we all know how bureaucracies work.

Given our current digital world, shouldn’t it be…

In case you missed Part 2, you can find it here:

In the previous part of this tutorial series, we perform the following:

  • Stripe configuration, products and coupons
  • Views and html templates for checkout
  • Configured the static javascript files
  • Collected a test payment

On this Part 3 we will learn how to manage subscriptions and how to update our customer data in case something changes in Stripe.

1) Our settings page

If you remember from the previous articles, we had a settings page that only logged in members could access.

We will now expand that page so in case a user has a membership…

In case you missed Part 1, you can find it here:

In the previous part of this tutorial series, we perform the following:

  • Started our Django project and membership application
  • Created and setup access to the Admin interface on Django
  • Authentication with the default Django plugin

On this Part 2, we will learn how to create the memberships itself and how to use Stripe to charge our costumers.

1) Stripe configuration

I assume that you have a Stripe account, if not you can quickly register for one that allows using test data, you don’t need to activate the account.

On the Stripe side…

In this article, the first of a tutorial series, I’ll document my journey of learning Golang and show you how you can learn also.

About Golang

From the official website description:

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

What does that mean? Well, to start Go is a compiled language instead of an interpreted language like for instance Python.

Being a compiled language means that the source code gets compiled to machine code, making it execution faster. …

So you want to build a membership site or charge for your digital product/downloads and don’t know what tool to use? Use Django.

You can, of course, use Wordpress and one of the many e-commerce plugins, but many of them require payment of an annual or monthly fees. Sure they might be easier and faster but why spend when you can build your own?

Building it with Python and Django is free, except payment for the VPS hosting the site and perhaps a small fee for the payment integrator (which you would also pay going with Wordpress).

Given that, let’s…

In this article I will describe how to setup and connect to a WireGuard VPN with the purpose of keeping all of your network traffic secure when accessing your remote servers.

Before WireGuard, OpenVPN was the go-to VPN, but it’s configuration is tricky and not the most user friendly for non-tech users.

An additional plus point as stated in the WireGuard website:

It intends to be considerably more performant than OpenVPN

How it works

From the WireGuard website:

WireGuard aims to be as easy to configure and deploy as SSH. A VPN connection is made simply by exchanging very simple public keys —…

Nuno Bispo

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