• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Archives for June 2019

CloudFront XML Error

June 30, 2019

If you’re seeing an XML error, check the default root object in your CloudFront distribution.

CloudFront distribution setting

It should be set to your index page.

Filed Under: Cloud Tagged With: aws, cloudfront, default root object, error, index.html, xml

OBS Source Is A Red Dot

June 30, 2019

If you’re adding a media source (RTMP, RTSP or HLS) in OBS and all you’re getting is a red dot, here’s a quick fix.

For Windows, hit Control-F.
For Mac OS, hit Command-F.

For Windows, hit Control-F. For Mac OS, hit Command-F.

Filed Under: Misc Tagged With: media, obs, red dot, source

Disable Falcon-Sensor

June 28, 2019

Here’s how to disable falcon-sensor or CrowdStrike.

systemctl stop falcon-sensor
systemctl disable falcon-sensor

systemctl stop falcon-sensor systemctl disable falcon-sensor

Filed Under: Cloud, Linux Tagged With: crowdstrike, disable, falcon-sensor, stop, systemctl

Google SDK Update

June 28, 2019

How to upgrade Google SDK on Redhat, Fedora and Centos Linux.

gcloud components update

gcloud components update

If you are having trouble running that command because the GCloud component manager is disabled, you can try the following commands which will achieve the same result as above.

sudo yum makecache && sudo yum update \
kubectl \
google-cloud-sdk \
google-cloud-sdk-app-engine-grpc \
google-cloud-sdk-pubsub-emulator \
google-cloud-sdk-app-engine-go \
google-cloud-sdk-cloud-build-local \
google-cloud-sdk-datastore-emulator \
google-cloud-sdk-app-engine-python \
google-cloud-sdk-cbt \
google-cloud-sdk-bigtable-emulator \
google-cloud-sdk-datalab \
google-cloud-sdk-app-engine-java

sudo yum makecache && sudo yum update \ kubectl \ google-cloud-sdk \ google-cloud-sdk-app-engine-grpc \ google-cloud-sdk-pubsub-emulator \ google-cloud-sdk-app-engine-go \ google-cloud-sdk-cloud-build-local \ google-cloud-sdk-datastore-emulator \ google-cloud-sdk-app-engine-python \ google-cloud-sdk-cbt \ google-cloud-sdk-bigtable-emulator \ google-cloud-sdk-datalab \ google-cloud-sdk-app-engine-java

Filed Under: Cloud Tagged With: google, sdk, update, upgrade

Calculate Epoch Time to Date

June 27, 2019

Here’s how to calculate epoch time using the Linux date command.

# Linux
date --date @1561266781
date -d @1561266781
# MacOS
date -r 1561266781

# Linux date --date @1561266781 date -d @1561266781 # MacOS date -r 1561266781

Output is : Sun Jun 23 05:13:01 UTC 2019

Show current epoch time.

date +%s

date +%s

Output: 1561642643

Filed Under: Cloud Tagged With: calculate, date, epoch, time

AWS CLI Restore Object from S3 Glacier

June 26, 2019

How to restore an object from Amazon S3 Glacier via the AWS CLI.

aws s3api restore-object \
--bucket awsexamplebucket \
--key dir1/example.obj \
--restore-request '{"Days":25,"GlacierJobParameters":{"Tier":"Standard"}}'

aws s3api restore-object \ --bucket awsexamplebucket \ --key dir1/example.obj \ --restore-request '{"Days":25,"GlacierJobParameters":{"Tier":"Standard"}}'

Filed Under: Cloud Tagged With: aws, cli, glacier, object, restore, s3

AWS LightSail Delete Instance

June 24, 2019

How to delete AWS LightSail instance via CLI.

aws lightsail delete-instance --instance-name your-server-name

aws lightsail delete-instance --instance-name your-server-name

Filed Under: Cloud Tagged With: aws, cli, delete, instance, lightsail

AWS LightSail Create Instance

June 24, 2019

How to create a LightSail instance from a snapshot via AWS CLI.

aws lightsail create-instances-from-snapshot \
--instance-names your-server-name \
--availability-zone us-east-1a \
--instance-snapshot-name your-snapshot \
--bundle-id nano_1_0 \
--key-pair-name your-key-pair

aws lightsail create-instances-from-snapshot \ --instance-names your-server-name \ --availability-zone us-east-1a \ --instance-snapshot-name your-snapshot \ --bundle-id nano_1_0 \ --key-pair-name your-key-pair

Filed Under: Cloud Tagged With: aws, cli, create, instance, lightsail

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to Next Page »
  • Home
  • About
  • Archives

Copyright © 2023