MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
Write a comparison between Ansible Vs Docker Vs Terraform:
| ANSIBLE | DOCKER | TERRAFORM |
| Uses python | Run on programming | Config management tool |
| Ansible is an excellent useful tool for front-end developers, particularly in situations where some programming is required. | Docker has multi-components. | focuses on infrastructure automation, and interprets a model described in Hashicorp Configuration Language (HCL). |
| Ansible also easy to use and effective for configuration management | Docker is easy to understand and isolate | Terraform is a service orchestration tool. |
| Radically simple configuration-management, application deployment, task-execution, and multi-node orchestration engine. | Enterprise Container Platform for High-Velocity Innovation | is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure. |
Write a terraform script where you create a linux ec2 instance with Security group and key defined so you should be able to use key to login to ec2 instance.
provider "aws" {
source = "terraform"{
version = "~> 2.8"
}
}
resource provider "linux security group " allow key to login to linux ec2 instance"{
description = " allow key to login linux ec2 instance"
}
region = "us-west-2" {
access_key = "AKIAYIMEDZZZKEPKRNEM"
secret_key = "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"
resource " linux_instance""first-ec2"{
ami = "ami-03d5c68bab01f3496"
instance type = "t2.micro"
tags = {
Name = "Akshatha Ashwathnarayan"
}
}
}
Code language: PHP (php)