AZURE: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(→Docs) |
|||
(8 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 3: | Linha 3: | ||
*https://portal.azure.com/ | *https://portal.azure.com/ | ||
*https://preview.portal.azure.com/ | *https://preview.portal.azure.com/ | ||
*[https://azurecharts.com/associations/affinity?_lrsc=89a0a5da-45c1-404e-b0ea-5c934a8c7686 Azure Affinity Map] | |||
*[https://ea.azure.com/report/usagesummary Azure Enterprise Portal] | |||
=Instancia= | =Instancia= | ||
==Virtual Machines== | ==Virtual Machines== | ||
Linha 97: | Linha 100: | ||
*[https://docs.microsoft.com/pt-br/azure/virtual-machines/workloads/oracle/oracle-backup-recovery Oracle] | *[https://docs.microsoft.com/pt-br/azure/virtual-machines/workloads/oracle/oracle-backup-recovery Oracle] | ||
=Automação= | =Automação= | ||
== | ==[https://docs.microsoft.com/en-us/rest/api/azure/ Rest API]== | ||
==Billing== | |||
*[https://docs.microsoft.com/pt-br/azure/cost-management-billing/manage/enterprise-api Overview of Reporting APIs for Enterprise customers] | |||
*[https://consumption.azure.com/swagger/ui/index Swagger] | |||
==Manage Roles== | ==Manage Roles== | ||
Linha 132: | Linha 131: | ||
*[https://azure.microsoft.com/en-us/blog/azure-management-libraries-for-java-generally-available-now/ Azure management libraries for Java generally available now] | *[https://azure.microsoft.com/en-us/blog/azure-management-libraries-for-java-generally-available-now/ Azure management libraries for Java generally available now] | ||
*[https://docs.microsoft.com/en-us/java/azure/ Azure for Java developers] | *[https://docs.microsoft.com/en-us/java/azure/ Azure for Java developers] | ||
*[https://azure.github.io/azure-sdk/releases/latest/all/python.html Azure SDK Latest Releases] | |||
*[https://docs.microsoft.com/en-us/rest/api/azure/ Azure REST API Reference] | |||
==GITHUB== | ==GITHUB== | ||
*https://github.com/Azure/azure-sdk-for-python | *https://github.com/Azure/azure-sdk-for-python | ||
Linha 144: | Linha 146: | ||
*[[Azure Orphan Resource Report|Azure Orphan Resource Report]] | *[[Azure Orphan Resource Report|Azure Orphan Resource Report]] | ||
*[[Take SnapShot fom all disks on VM|Take SnapShot fom all disks on VM]] | *[[Take SnapShot fom all disks on VM|Take SnapShot fom all disks on VM]] | ||
*[[CrowdStrike Azure VM|CrowdStrike Azure VM]] | |||
=Scripts= | |||
*[[Azure NSG Dump|NSG DUMP]] |
Edição atual tal como às 19h31min de 19 de julho de 2024
URLS
- https://resources.azure.com/
- https://portal.azure.com/
- https://preview.portal.azure.com/
- Azure Affinity Map
- Azure Enterprise Portal
Instancia
Virtual Machines
Create Instance
az login az group create -n EASTUS -l eastus az disk create --resource-group EASTUS -n disco-app01-01-B --source https://<conta>.blob.core.windows.net/vhds/disco-app01-01-B.vhd az vm create -g EASTUS -n disco-app01-01 --size Standard_f2s --attach-os-disk disco-app01-01-B --os-type linux
Upload de Linux Como imagem
Passos:
- Clonar guest
- Reconfigurar guest
- Converter disco para RAW
qemu-img convert -f vmdk -O raw image.vmdk image.raw
- Resize do RAW
qemu-img convert -f vpc -O raw MyLinuxVM.vhd MyLinuxVM.raw
rawdisk="MyLinuxVM.raw"
vhddisk="MyLinuxVM.vhd"
MB=$((1024*1024))
size=$(qemu-img info -f raw --output json "$rawdisk" | \
gawk 'match($0, /"virtual-size": ([0-9]+),/, val) {print val[1]}')
rounded_size=$((($size/$MB + 1)*$MB))
echo "Rounded Size = $rounded_size"
qemu-img resize MyLinuxVM.raw $rounded_size
qemu-img convert -f raw -o subformat=fixed -O vpc MyLinuxVM.raw MyLinuxVM.vhd
qemu-img convert -f raw -o subformat=fixed,force_size -O vpc MyLinuxVM.raw MyLinuxVM.vhd
- Converter para VHD
qemu-img convert -f raw -o subformat=fixed -O vpc image.raw image.vhd
- UPLOAD
- os arquivos .VHD são do tipo "Page" no Azure
LINUX
- CENTOS
- REDHAT
- ORACLE
- GENERIC
- CREATE AND UPLOAD
- Configure Serial Console on boot on old distributions(GRUB 1)
PYTHON
BLOBXFER
Antes de construir o virtualenv, setar a codificação:
export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"
AZURE-CLI
AZ-COPY
(AWS) to Azure with Azure Site Recovery
Links
Linux
AZURE CLI
Impersonalização do usuário
Executar antes de gerar nova imagem de linux.
- sudo waagent -force -deprovision
- export HISTSIZE=0
- logout
Name Search
Configura o name search no dhclient.conf do host linux.
Acessos
Backup
Automação
Rest API
Billing
Manage Roles
Helps manage specific roles for specific groups to one or more resource groups.
Docs
- Comparativo AWS -> Azure
- RoadMap Azure
- http://www.azurespeed.com/
- Troubleshoot Azure Backup failure: Issues with the agent or extension
- Configure NSG for Azure Bastion
- Common Microsoft Resources in Azure Active Directory
Serviços
Preços e Tamanhos
SDK
- Getting Started with Azure Management Libraries for Java
- Azure management libraries for Java generally available now
- Azure for Java developers
- Azure SDK Latest Releases
- Azure REST API Reference
GITHUB
- https://github.com/Azure/azure-sdk-for-python
- https://github.com/Azure-Samples
- https://github.com/rocko83/AzureToolBox
Procedures
- Conversor de disco
- AZURE-CLI shortcuts
- AZURE-POWERSHELL
- Remove Boot Diagnostics from storage
- Azure Orphan Resource Report
- Take SnapShot fom all disks on VM
- CrowdStrike Azure VM