Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for create

June 21, 2019

AWS CLI Create LightSail Snapshot

Here’s the AWS CLI for creating a LightSail snapshot.

aws lightsail create-instance-snapshot \
--instance-snapshot-name test-snapshot \
--instance-name your-server

aws lightsail create-instance-snapshot \ --instance-snapshot-name test-snapshot \ --instance-name your-server

Here’s how to delete a snapshot.

aws lightsail delete-instance-snapshot \
--instance-snapshot-name test-snapshot

aws lightsail delete-instance-snapshot \ --instance-snapshot-name test-snapshot

March 26, 2019

StatsMaker

A couple of personal statistics scripts.

# create stats. can be run from cron.
/var/www/statsmaker/create.sh
# fix. must supply date.
/var/www/statsmaker/fix.sh 190201

# create stats. can be run from cron. /var/www/statsmaker/create.sh # fix. must supply date. /var/www/statsmaker/fix.sh 190201

March 22, 2019

Create Group With ID

Here’s how to create a Linux group with a specific ID. Group name is nginx in this example. ID is 1000.

groupadd nginx -g 1000

groupadd nginx -g 1000

  • « Previous Page
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • Next Page »
  • Cloud
  • Linux
  • Git

Copyright © 2012–2021