DigitalOcean is well known for low rates for smaller cloud instances which costs only 5 USD per month or 0.007 USD per hour, so I’m going to use it for about 2 hours, destroy it, and get charged just 0.014 USD. The goal of this post is to set up a Droplet on DigitralOcean that…
Month: January 2022
Python for Algorithmic Trading – Conda as a Package Manager in Docker (2)
Python for Algorithmic Trading (1) Docker Container This section goes into the details of what the docker technology can do in the context of Python deployment. Building a Ubuntu and Python Docker Image This dockerfile control the building procedure for the image itself. The Bash script in below will be installing three parts: Linux housekeeping…
Python for Algorithmic Trading – Conda as a Package Manager (1)
There are tools and strategies available that help with the Python deployment issue. Package managers like pip or conda help with the installing, updateing, and removing of Python packages. They also help with version consistency of different packages. Conda as a Package Manager Although Conda can be installed alone, an efficient way of doing it…
Jenkins Simple Python CI Pipeline
I’m going to create CI (Continuous Integration) Pipelines for Python project. The pipeline will include build, test, packaging and artifact storage. Furthermore, the pipeline will be automatically triggered when the source code changes (A push to a project in GitLab should trigger the build job). Create Jenkins Job and Integration with GitLab GitLab: Create a…
Create Orchestration Tool (Jenkins) With Azure Cloud Infrastructure
I’m going to create a Jenkins to enable CI/CD Pipelines. Create a VM Create a Linux VM with the following specifications. Add an inbound security rule that allows access to your Jenkins VM on TCP port 8080. Install Docker and Jenkins Download and add Docker CE GPG key with the following command: Next, add the…
Install Jira with Azure
Create a VM in Azure Install MySQL on VM Login to VM using ssh. To install it, update the package index on your server with apt: Configuring MySQL You will want to run the included security script. Configure your MySQL installation for JIRA. to do this, run the mysql command as a root with a blank…
Install GitLab and Create a Project on Microsoft Azure
VM Creation DNS Name setting Click the virtual machine that you just created earlier, select the Not Configured link next to the DNS name label. GitLab CE Installation Connect your VM and write the command: Single Sign-on navigate to Azure Active Directory > App registrations > New Registration Select New Registration o Name: GitLabCE Supported Account…
Intro to Terraform with AWS (basics of using terraform to manage AWS infrastructure)
Basics of using terraform to setup infrastructure with aws. We define our infrastructure as code and then we hand that code over to terraform and terraform is responsible for managing our entire infrastructure. how we can use terraform to manage an EC2 instance. main.tf Go to the terminal and start terrform. we can see that…
1. Getting Started – Ansible Inventory Tutorial (Connect Ansible to AWS EC2 instance)
The purpose is to get used to the different building blocks of the cloud infrastructure in order to set it up automatically using scripts and Ansible. The infrastructure I am going to set up is: Ansible Inventory Create Ansible configuration file I defined the host that we are going to work with, and folder called…
SOLUTION – The authenticity of host can’t be established error
If you got permission denied error when you try to connect AWS EC2 instance, use this command: