AWS

AWS Naming Convention

When naming AWS resources, including instances, volumes, snapshots, and other resources, it’s important to follow a consistent naming convention that helps with organization, identification, and management. Here are some general guidelines for creating AWS resource names: Be descriptive: Use names that clearly indicate the purpose, function, or characteristics of the resource. This helps in understanding […]

AWS Naming Convention Read More »

Generate temporary signed URL from s3 in Laravel

To create temporary files, you can use temporaryUrl method from the IlluminateSupportFacadeStorage facade. You can use the method on the following syntax. use IlluminateSupportFacadesStorage;$temporarySignedUrl = Storage::disk(‘s3’)->temporaryUrl(“filepath.pdf”, now()->addMinutes(10));   temporaryUrl method accepts two parameters as follows, Path: This parameter accepts the full path of the file in the s3 bucket Expiry Time: You can set the date for the expiry

Generate temporary signed URL from s3 in Laravel Read More »

Setting Up SSH Connection between Ubuntu 22 and GitHub: A Step-by-Step Guide

To make an SSH connection between Ubuntu 22 and GitHub, you can follow these steps: 1. Generate an SSH key pair: run the following command to generate an SSH key pair:   ssh-keygen -t ed25519 -C “[email protected]”   Replace `”[email protected]”` with your actual email address. You can also choose a different key type (e.g., RSA)

Setting Up SSH Connection between Ubuntu 22 and GitHub: A Step-by-Step Guide Read More »