Deployment is the process in which software or updates are released to the end-user.
The Software Development Life Cycle (SDLC) provides steps/guidance to create high-quality software. Generally, the steps include: planning, defining/analysis, design, development, testing, deployment, and maintenance.
The SDLC planning phase defines the problem and gathers the requirements needed to solve it.
The SDLC defining phase determines the necessary resources to build a prototype of the solution.
The SDLC design phase involves deciding on the technical aspects of the solution.
The SDLC development phase is where the software is built and written.
The SDLC testing phase involves testing the solution software.
The SDLC maintenance phase is where additional bugs are found after deployment occurs and are fixed through software updates.
Different environments are used throughout the SDLC for building and developing the code, testing the code, and deploying the code.
Deployment tools can help automate and speed up the deployment process.
The SDLC deployment phase moves the software solution to the production environment for end-users to use.
Platform as a Service (PaaS) describes tools that use cloud-based deployment to automatically builds, deploys, and manages applications.
Render is a type of PaaS that can deploy code applications.
Render provides the ability to create a PostgreSQL database that is accessible from applications.
Render provides a free, publically available
.onrender.com domain when a web service is deployed.
Render offers both free and paid subscription tiers to meet project needs.
Web services can be deployed in Render by connecting the GitLab or GitHub code repository.
When deploying a web service with Render, the name, region, branch, root directory, runtime, build command, start command, and instance type settings must be configured.
The build and start commands set in the web service configuration are used by Render to build and start the deployed application.
Render will show a green, “Live” status to indicate that the web service is deployed and running successfully.
In order for two or more Render services to communicate with each other, they must belong to the same configured region.
When creating a PostgreSQL database with Render, the name, database, user, region, PostgreSQL version, datadog API key, and instance type settings must be configured.
The “Connections” view on the PostgreSQL database dashboard will provide credential and connection information in order to connect to and access the PostgreSQL database.
A free tier subscription level in Render can only have one active PostgreSQL database at a time.
Deployment events include first deployments, started deployments, canceled deployments, and failed deployments.
In Render, the “Metrics” tab can show total service usage and bandwidth.
Render allows for setting additional deployed service configurations like adding custom domains, setting automatic deployments, health alerts, and suspending or deleting services.
In Render, the “Logs” tab can be used to read through the deployed application’s logs to help with troubleshooting and bug finding.
Environment variables can be added and modified during or after deployment in Render in order to change values quickly to suit developer needs.
When environment variables are added or modified, the deployed web service will automatically redeploy for the changes to take affect.