Skip to content

Commit

Permalink
Update cloud-init script
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Aug 31, 2023
1 parent 9c6726e commit cd8a1b9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions clickhouse/cloud-init.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/bash

# This is the script for cloud-init, to run on a VM in unattended fashion. Example:
#
# aws ec2 run-instances --count 1 --image-id ami-0d1ddd83282187d18 --instance-type c6a.4xlarge \
# --block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=true,VolumeSize=500,VolumeType=gp2}' \
# --key-name milovidov --security-group-ids sg-013790293e9640422 --instance-initiated-shutdown-behavior terminate \
# --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=clickbench}]'
# --user-data file://cloud-init.sh
<<///
aws ec2 run-instances --count 1 --image-id ami-0d1ddd83282187d18 --instance-type c6a.4xlarge \
--block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=true,VolumeSize=500,VolumeType=gp2}' \
--key-name milovidov --security-group-ids sg-013790293e9640422 --instance-initiated-shutdown-behavior terminate \
--tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=clickbench}]' \
--user-data file://cloud-init.sh
///

BASE_URL='https://raw.githubusercontent.com/ClickHouse/ClickBench/main/clickhouse/'

Expand Down

0 comments on commit cd8a1b9

Please sign in to comment.