Setting up Dev and Staging environments with CI/CD
Goal: Deploy and configure
Requirements
1. Hosting environment:
VPS: DigitalOcean or GoDaddy
Specifications:
2 vCPU, 4GB RAM, 30–100GB SSD
OS: Ubuntu 22.04 LTS
Domains:
dev.gcs-reefer.comfor Devstage.gcs-reefer.comfor Staging
2. Technology stack:
Backend: Laravel 10.x with necessary PHP modules
Database: MySQL 8.x
Cache: Redis 5.x
Web server: Nginx
Containerization: Docker and Docker Compose
CI/CD tool: GitHub Actions
Monitoring: Sentry
Main tasks
1. Server setup:
Deploy VPS, configure SSH access, install Docker, Docker Compose, and Nginx.
Create virtual hosts and subdomains through Nginx.
Install Certbot for SSL certificates.
2. CI/CD processes:
Configure GitHub Actions for automatic deployment:
Dev branch: Deploy after merge, run tests, notify in Jira.
Staging branch: Deploy after merge, run tests, notify in Jira.
Write Dockerfile and
docker-compose.ymlfor both environments.Automate container cleanup after successful deployment.
3. Monitoring:
Set up Sentry for error tracking in Dev and Staging.
Set up alerts for critical errors.
4. Backup and security:
Set up daily backups of databases (keep for 7 days) and application files.
Ensure access security with Firewall, Fail2Ban, and multi-factor authentication.
Result:
Fully operational Dev and Staging environments.
Automated CI/CD processes with Jira and Sentry integration.
Scalable and secure infrastructure with backups.
-
5 days548 USD
396 5 days548 USDЗдравствуйте!
Меня зовут Андрей, я представляю группу разработчиков – NC-1
В нашей команде есть специалист с необходимыми для Вас опытом и знаниями. Ставка в час – 19 EUR
Стек: Linux, FreeBSD, OpenBSD, Solaris, Windows Server, Amazon AWS Services (EC2, S3, etc), Oracle Cloud, IBM Cloud, Rackspace, Docker, Microsoft Azure CI/CD, Jetbrains TeamCity, Jenkins, Octopus Deploy, Git (+ Github, Gitlab, Bitbucket), Mercurial SCM, Sentry, Nagios, C, Python, Java (Core, JavaFX), PHP, Dart (entry-level), MySQL, Postgres, Sqlite, MongoDB, Redis
С уважением, Андрей
Current freelance projects in the category DevOps
Setting up a backup system and optimizing server infrastructureObjective of the work: Ensure reliable data storage for the CRM system and application by implementing an automated backup system, as well as carry out a series of server improvements to enhance the stability, security, and performance of the infrastructure. DevOps, Databases & SQL ∙ 6 days 21 hours back ∙ 27 proposals |
Deployment of a Ruby on Rails project on VPS + Inbound Email RoutingNeed help deploying a platform for automating requests for public information (based on the open-source engine Alaveteli). The project works as a mail router: it generates unique email addresses for each request, sends them to government agencies, and receives responses back to… DevOps, Linux & Unix ∙ 12 days 23 hours back ∙ 11 proposals |