3 h 15 (S6.1: 30 min · S6.2: 45 min · S6.3: 45 min · S6.4: 50 min · S6.5: 25 min)
module 4 (data spoke, snet-pe, private DNS), module 5 (server vm-stNN-lyon-fs)
Arvéo network in place, Lyon file server stopped, rg-stNN-data group empty
30 min
Storage account = Unique name + Region + Performance + Redundancy| Service | Content | Arvéo |
|---|---|---|
| Blob | Objects (files, images, backups) | Scanned proofs of delivery (POD) |
| Files | Managed SMB / NFS shares | Lyon file server |
| Queue | Messages between components | Preview in M8 |
| Table | Key-attribute NoSQL | Out of scope |
Type = Performance (Standard | Premium) + Supported services| Type | Services | Redundancy |
|---|---|---|
Standard v2 (StorageV2) |
Blob, Files, Queue, Table | All |
| Premium block blobs | Block and append blobs | LRS, ZRS |
| Premium file shares | Files (SMB, NFS) | LRS, ZRS |
| Premium page blobs | Page blobs | LRS |
[TO VERIFY] retirement scheduleURL = https:// + <name> + .<service>.core.windows.net<type>-stNN-<role> convention impossible (no hyphens) → starveost<NN><role><SES><SES>: 4-character session code (uniqueness across two training sessions)Endpoints for trainee 07, session 2610:
https://starveost07data2610.blob.core.windows.net
https://starveost07data2610-secondary.blob.core.windows.net
https://starveost07files2610.file.core.windows.netname rejected at creation = already taken elsewhere; test with az storage account check-name
Redundancy = Local copies (LRS | ZRS) + Geo copy (G) + Secondary read (RA-)| Option | Copies | Protects against |
|---|---|---|
| LRS | 3 in one datacenter | Disk or rack failure |
| ZRS | 3 spread across 3 zones | Loss of a datacenter |
| GRS / RA-GRS | LRS + LRS in paired region | Loss of the region |
| GZRS / RA-GZRS | ZRS + LRS in paired region | Loss of a zone AND the region |
-secondary endpoint, without failoverflowchart LR APP[Application] -->|Write| P[Primary<br/>France Central] P -->|Asynchronous| S[Secondary<br/>France South] APP -.->|RA- read| S
Last Sync Time = last consistent secondary statecritical business data in GZRS; rebuildable copies in LRS
az storage account check-name --name starveost07data2610 --query nameAvailable -o tsv
az storage account create -g rg-st07-data -n starveost07data2610 -l francecentral \
--kind StorageV2 --sku Standard_LRS --access-tier Hot \
--min-tls-version TLS1_2 --allow-blob-public-access false \
--tags Projet=Arveo Environnement=Formation Proprietaire=st07 \
--query "[provisioningState, primaryLocation]" -o tsvExpected output:
true
Succeeded francecentralanonymous access disabled and TLS 1.2 minimum from creation, not after an audit
| Change | Method |
|---|---|
| LRS ↔ GRS ↔ RA-GRS | az storage account update --sku |
| LRS → ZRS | Conversion (portal, hours to days) |
| Standard → Premium | New account + AzCopy copy |
az storage account update -g rg-st07-data -n starveost07data2610 --sku Standard_RAGRS \
--query "{SKU:sku.name, Secondary:secondaryLocation, State:statusOfSecondary}" -o tableExpected output:
SKU Secondary State
-------------- ----------- ---------
Standard_RAGRS francesouth available45 min
Account → Container → Blob ("/" prefix = virtual folder)Arvéo example: https://starveost07data2610.blob.core.windows.net/pod/2026/10/pod-001.txt
pod container
2026/10/ prefix (year / month)
pod-001.txt block blobTotal cost = Storage (GB/month) + Operations + Retrieval (GB read) + Minimum duration| Tier | Use | Minimum duration | Read |
|---|---|---|---|
| Hot | Frequent access | None | Immediate |
| Cool | Occasional access | 30 days | Immediate |
| Cold | Rare access | 90 days | Immediate |
| Archive | Retention, compliance | 180 days | After rehydration |
[TO VERIFY] Cold as defaultaz storage blob set-tierRehydration = Tier change (to Hot, Cool, Cold) | Copy to a new blobarchiveStatus = rehydrate-pending-to-hotaz storage blob set-tier --account-name starveost07data2610 -c pod \
-n 2026/10/pod-003.txt --tier Hot --rehydrate-priority Standard --auth-mode keyreading an archived blob returns error BlobArchived (409), not its content
Rule = Filter (prefix, type) + Actions (tier, delete) + Condition (days)"filters": { "blobTypes": [ "blockBlob" ], "prefixMatch": [ "pod/" ] },
"actions": {
"baseBlob": {
"tierToCool": { "daysAfterModificationGreaterThan": 30 },
"tierToArchive": { "daysAfterModificationGreaterThan": 180 },
"delete": { "daysAfterModificationGreaterThan": 3650 }
},
"version": { "delete": { "daysAfterCreationGreaterThan": 90 } }
}[TO VERIFY] documented delayArvéo consults a proof of delivery for 30 days (disputes), keeps it 10 years
Data protection = Versioning + Soft delete + Point-in-time restore + Immutability| Feature | Protects against | Recovery |
|---|---|---|
| Versioning | Overwrite, deletion | Previous version promoted |
| Soft delete (blobs) | Deletion | undelete, 1 to 365 days |
| Soft delete (containers) | Container deletion | container restore |
| Point-in-time restore | Mass error | Containers to a date |
| Immutability (WORM) | Modification, ransomware | Write once |
Object replication = Rule (source → destination container) + Versioning (both) + Change feed (source)flowchart LR SRC[starveost07data2610<br/>container pod] -->|Asynchronous| DST[starveost07arch2610<br/>container pod-replica]
az storage account blob-service-properties update -g rg-st07-data -n starveost07data2610 \
--enable-versioning true --enable-change-feed true -o none
az storage account or-policy create -g rg-st07-data --account-name starveost07arch2610 \
--source-account starveost07data2610 --destination-account starveost07arch2610 \
--source-container pod --destination-container pod-replica \
--min-creation-time '2026-01-01T00:00:00Z' --query policyId -o tsvExpected output (generated ID):
1f3c6a2e-0b7d-4c55-9e1a-6d2f8b0c4e91or-policy show (destination) | or-policy create --policy "@-" (source)--min-creation-time earlier than existing blobs: history replicated too45 min
Access = Control plane (ARM + RBAC) + Data plane (key | SAS | Entra ID)| Method | Identity | Revocation |
|---|---|---|
| Access key | None (shared secret) | Key regeneration |
| SAS | Signed, scoped token | Expiry, policy, key |
| Entra ID + RBAC | User, group, identity | Role removal |
| Anonymous access | None | Disabled at Arvéo |
Owner: no DATA actions, but can read keys (indirect access)Entra ID by default; keys disabled as soon as possible
Access key = FULL access to the account (all services, all containers)keyExpirationPeriodInDays): alert, no automatic rotation--allow-shared-key-access false (keys, account and service SAS rejected)az storage account keys renew -g rg-st07-data -n starveost07data2610 --key key1 -o noneregenerating a key invalidates ALL SAS signed with it
SAS = Resource + Permissions (r, w, l, d…) + Validity + Signature| Type | Signed with | Scope |
|---|---|---|
| Account SAS | Account key | One or more services |
| Service SAS | Account key | Container, blob, share |
| User delegation SAS | Entra ID delegation key | Blob, 7 days maximum |
END=$(date -u -d '+2 hours' '+%Y-%m-%dT%H:%MZ')
az storage blob generate-sas --account-name starveost07data2610 -c pod \
-n 2026/10/pod-001.txt --permissions r --expiry "$END" --https-only \
--auth-mode login --as-user --full-uri -o tsv
az storage container policy create --account-name starveost07data2610 -c pod \
-n sap-transporteurs --permissions rl --expiry "$END" --auth-mode keyExpected output (first command, signature truncated):
https://starveost07data2610.blob.core.windows.net/pod/2026/10/pod-001.txt?skoid=…&sig=…short-lived SAS (hours), HTTPS only, user delegation preferred
Authorization = Data role + Scope (account, container) + Identity| Role | Rights |
|---|---|
| Storage Blob Data Reader | Read, list |
| Storage Blob Data Contributor | Read, write, delete |
| Storage Blob Data Owner | Contributor + POSIX ACLs |
| Storage Blob Delegator | Get a delegation key |
| Storage File Data SMB Share Contributor | Read, write over SMB |
--auth-mode login; portal: "Default to Microsoft Entra" in account configurationPublic network access = Enabled (all) | Enabled (selected networks) | Disabled| Mechanism | Principle | Cost |
|---|---|---|
| IP firewall | Allowed public ranges | Free |
| Service endpoint | Allowed subnet, public IP | Free |
| Private endpoint | Account private IP in the VNet | Per hour + per GB |
| Trusted services | Exception (Backup, Monitor…) | Free |
Public FQDN → privatelink CNAME → Private DNS zone → 10.7.9.4flowchart LR VM[vm-st07-test-data] -->|DNS| Z[privatelink.blob<br/>A 10.7.9.4] VM -->|HTTPS| PE[pe-st07-blob<br/>snet-pe] PE --> SA[starveost07data2610]
arveo.internal, M4)one zone and one private endpoint per sub-resource (blob, file, dfs…)
Encryption = At rest (AES-256, always on) + In transit (HTTPS, TLS 1.2 minimum)| Option | Key managed by | Use |
|---|---|---|
| Microsoft-managed keys | Platform | Default, no action |
| Customer-managed keys | Key Vault or managed HSM | Compliance, revocation |
| Infrastructure encryption | Double layer | At creation only |
| Encryption scopes | Key per container or blob | Multiple customers |
[TO VERIFY] effective date50 min
Azure Files = SMB or NFS share + Managed service + Access from Azure and on-premises| Protocol | Port | Clients |
|---|---|---|
| SMB 3.x | TCP 445 | Windows, Linux, macOS |
| NFS 4.1 | TCP 2049 | Linux (premium only) |
| REST (HTTPS) | TCP 443 | Portal, AzCopy, File Sync |
Tier = Media (SSD | HDD) + Billing (provisioned | pay-as-you-go)| Tier | Media | Use |
|---|---|---|
| Premium | SSD | Latency-sensitive applications |
| Transaction optimized | HDD | High operation volume |
| Hot | HDD | Team shares |
| Cool | HDD | Online archives |
[TO VERIFY] regional availabilitySMB access = Identity + Share role (Azure) + NTFS ACLs (files)| Method | Prerequisite | Arvéo case |
|---|---|---|
| Account key | None | Administration, tests |
| AD DS | Account registered in AD | Lyon domain workstations |
| Entra Kerberos | Hybrid identities | HQ Entra-joined workstations |
| Entra Domain Services | Managed domain | Azure VMs without AD |
net use Z: \\starveost07files2610.file.core.windows.net\partage-lyonProtection = Snapshots + Share soft delete + Azure Backup (M9)[TO VERIFY] 7 days by default)az storage share-rm snapshot -g rg-st07-data --storage-account starveost07files2610 \
-n partage-lyon --query snapshotTime -o tsvdeleting an account deletes all its shares, with no soft delete
File Sync = Storage Sync Service + Sync group + Endpoints (1 cloud + N servers)flowchart LR SRV[vm-st07-lyon-fs<br/>F:\Partages\Commun] <-->|HTTPS 443| SG[sss-st07<br/>sg-partage-lyon] SG <--> SH[partage-lyon<br/>Azure Files]
Tiering = Volume free space policy (%) + Date policy (days)O attribute (offline)F: disk)Before (Lyon): disk full → buy an array → migration (months)
After: local cache (20 % free) + Azure Files capacity (share quota)
Server → Azure: near-immediate | Azure → server: detection every 24 h| Change made… | Detected by | Delay |
|---|---|---|
| On a registered server | Volume USN journal | Minutes |
| Directly in the share | Detection job | Up to 24 h |
| Then forced detection | Administration cmdlet | Minutes |
Invoke-AzStorageSyncChangeDetection (folder or files)Migration = Cloud share → Agent → Registration → Server endpoint → Cutoverstarveost07files2610 and share partage-lyonsss-st07, sync group sg-partage-lyon, cloud endpointvm-st07-lyon-fs, registration with managed identityF:\Partages\Commun, tiering at 20 %Arvéo keeps the Lyon server as a cache until the site closes (2027)
25 min
| Tool | Interface | Use |
|---|---|---|
| Storage browser | Azure portal | Browsing, one-off operations |
| Azure Storage Explorer | Desktop application | Multiple accounts, SAS, Entra ID |
| AzCopy v10 | Command line | Bulk transfers, scripts |
| Azure CLI / PowerShell | Command line | Configuration, automation |
azcopy = copy (copy) | sync (differential) | list | remove | jobs (tracking, resume)azcopy copy "https://starveost07files2610.file.core.windows.net/partage-lyon?<SAS_F>" \
"https://starveost07arch2610.blob.core.windows.net/export-lyon?<SAS_B>" --recursive
azcopy sync ~/arveo-m06/pod \
"https://starveost07arch2610.blob.core.windows.net/pod-sync?<SAS_B>"Expected output (end of each command):
Final Job Status: Completedazcopy login (Entra ID) or managed identityazcopy jobs list, then azcopy jobs resume <ID>| Solution | Hardware | Principle |
|---|---|---|
| Azure Import/Export | Customer disks | SATA disks shipped to the datacenter |
| Data Box Disk | Microsoft-supplied SSDs | Local copy over USB |
| Data Box | Rugged appliance | SMB or NFS copy on the local network |
[TO VERIFY] current usable capacity of each offerDuration = Volume (bytes) × 8 / Effective throughput (bit/s)
flowchart TD
Q1{Network duration<br/>acceptable?} -->|Yes| NET[AzCopy<br/>or File Sync]
Q1 -->|No| Q2{A few<br/>tens of TB?}
Q2 -->|Yes| DBD[Data Box Disk<br/>or Data Box]
Q2 -->|No| DB[Several Data Boxes]
40 × 10¹² × 8 / 10⁸ ≈ 3.2 × 10⁶ s ≈ 37 days at a saturated 100 Mbit/sStorageV2)--auth-mode loginaz storage blob list --auth-mode login is denied. Cause?snet-pe subnet