Builds an RStudio Server on AWS EC2 instance using either pre-defined publiclly available AMIs or custom AMIs.
Its fully customizable and You can define what types of servers and images you want to use, however by default this are the resources it spins up for you
- VPC
- SSH Key Pair
- Security group
- EC2 Instance
- relevancelab AMI: t2.large (This AMI only supports t2.large instances)
- Custom AMI: t3.micro
There are multiple ways you can use ezRStudio
- locally on your machine with terraform
- terraform cloud
- env0
- As part of another module
NOTE: Please be aware this is not intended to be used in production and secure environments. All the AWS Cloud images (AMI) are provided as is by 3rd parties and I assume no responsability over any costs.
Feel free to open github issue with your questions or suggestions.
Name | Version |
---|---|
terraform | >= 0.13.0 |
aws | >=4.28.0 |
tls | >=3.0.0 |
Name | Version |
---|---|
aws | >=4.28.0 |
tls | >=3.0.0 |
Name | Source | Version |
---|---|---|
ec2_instance | terraform-aws-modules/ec2-instance/aws | ~> 5.0 |
key_pair | terraform-aws-modules/key-pair/aws | >=2.0.0 |
rstudio_sg | terraform-aws-modules/security-group/aws | ~> 4.17.2 |
vpc | terraform-aws-modules/vpc/aws | >=3.14.2 |
Name | Type |
---|---|
tls_private_key.this | resource |
aws_ami.relevancelab | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
ami_type | Type of AMI to use, cuda, tensorflow, custom | string |
"relevancelab" |
no |
associate_public_ip_address | Associate a public ip address with the instance | bool |
true |
no |
az | Availability zone to place the instance at | string |
null |
no |
create_key | Defines if ssh privatekey is going to be created | bool |
true |
no |
custom_ami | Custom AMI Id to be used | string |
null |
no |
ec2_instance_name | The name of the ec2 instance | string |
"RStudio-Server" |
no |
instance_type | The type of ec2 instance to be used | string |
"t3.micro" |
no |
key_name | The ssh keypair name | string |
"RSTudio-SSH" |
no |
monitoring | enables monitoring on the instance | bool |
false |
no |
region | Region to place resources | string |
"eu-central-1" |
no |
Name | Description |
---|---|
address | n/a |
dns_name | n/a |
instance_id | n/a |
ip_address | n/a |
username | n/a |
Suggestions and Pull Requests are always welcome. If you find a bug or run into any issues, feel free to open an Issue and I will help you as soon as possible.
If you like this project and you want to contribute in a different way, you can always consider to: