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
Terraform Ansible D
| Tool category | Orchestration | Configuration management |
| Approach | Immutable infrastructure | Mutable infrastructure |
| Language | Declarative | Imperative |
| Provisioning | Specializes in infrastructure provisioning | Limited support for infrastructure provisioning |
| LIfecycle management | Lifecycle aware. Maintains state of deployments. | No lifecycle awareness |
| Command line operation | Yes | Yes |
| Agentless | Yes | Yes |
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 ec2 instance"{
description = " allow key to login ec2 instance"
}
region = "us-west-2" {
access_key = "AKIAYIMEDZZZKEPKRNEM"
secret_key = "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"
resource " aws_instance""first-ec2"{
ani = "ani-03d5c68bab01f3496"
instance type = "t2.micro"
tags = {
Name = "Anitha"
}
}
}Code language: PHP (php)