To request or renew Let's Encrypt certificate. We need an Automated Certificate Management Environment (ACME) client called
certbot.
- Add
certbotPPA and install prerequisites:
| { | |
| "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "sqlDatabaseName": { | |
| "type": "string", | |
| "metadata": { | |
| "description": "The name of the database" | |
| } | |
| }, |
| Login-AzureRmAccount | |
| Select-AzureRmSubscription -SubscriptionId "<yoursubscriptionid>" | |
| $destinationResourceGroup = Read-Host -Prompt "What's the desired resource group name?" | |
| $numberOfVMs = Read-Host -Prompt "How many VMs do you want to generate?" | |
| $location = "West Europe" | |
| $vmSize = "Standard_F4s_v2" | |
| $accountType = "PremiumLRS" |
| <?php | |
| // Installed the need packages with Composer by running: | |
| // $ composer require aws/aws-sdk-php | |
| $filePath = "https://example.com/test.png"; | |
| require 'vendor/autoload.php'; | |
| $bucketName = 'YOUR_BUCKET_NAME'; | |
| $filePath = './YOUR_FILE_NAME.png'; |