When I go to https://portal.azure.com/, I see all my resources, but unless I click on one of them, I don't see which location their deployed. How can I view if I have a resource in a given location in Azure without having to click on each of them one by one? If that matters, I'm interested in Azure OpenAI resources.
Franck Dernoncourt's questions
I see in the Microsoft Pricing calculator:
What is the difference between GPT-4o-global-deployment and GPT-4o-Regional-API in Azure OpenAI?
How I can use the AWS CLI (aws s3
) to see whether an S3 bucket has versioning activated?
I have an AWS S3 bucket s3://mybucket/
. Running the following command to count all files:
aws s3 ls s3://mybucket/ --recursive | wc -l
outputs: 279847
Meanwhile, the AWS console web UI clearly indicates 355,524
objects:
Why does aws s3 ls s3://mybucket/ --recursive | wc -l
list fewer files than the number of objects mentioned in the AWS web UI in my S3 bucket?
Replying to comments:
Bucket versioning is enabled:
I've uploaded a large number of files and folders to an AWS S3 bucket via:
aws s3 cp . s3://mybucket --recursive
How can I check if the transfer was 100% successful?
I want to copy an S3 bucket as faithfully as possible (e.g., copying all permission settings).
The standard:
aws s3 sync s3://old-bucket s3://new-bucket --source-region us-west-1 --region us-west-2
only copies data.
How can one copy an S3 bucket as faithfully as possible (e.g., copying all permission settings)?
My current plan to move an S3 bucket from AWS region us-west-1
to AWS region us-west-2
while keeping the same bucket name seems highly inefficient as it's copying the entire bucket twice:
# Create new bucket in us-west-2
aws s3 mb s3://temp-bucket --region us-west-2
# Copy files from old to new bucket in us-west-2
aws s3 sync s3://my-bucket s3://temp-bucket --source-region us-west-1 --region us-west-2
# Delete the old bucket in us-west-1
aws s3 rb --force s3://my-bucket
# Create new bucket in us-west-2
aws s3 mb s3://my-bucket --region us-west-2
# Copy files from old to new bucket
aws s3 sync s3://temp-bucket s3://new-bucket
How can I efficiently move an S3 bucket to a new AWS region while keeping the same bucket name?
I created several Azure OpenAI resources in my Azure account. I deployed GPT models in each of the Azure OpenAI resources. I access them via the Azure OpenAI Playground.
I can view the cost per day of the sum of all the models deployed in my Azure OpenAI resource:
I don't see any model option in the filter or aggregation criteria. I don't see any other pages with cost plot.
How can I plot my daily cost on Azure OpenAI for a given GPT model (and more generally, any OpenAI model)?
I created several Azure OpenAI resources in my Azure account. I deployed GPT models in each of the Azure OpenAI resources. I access them via the Azure OpenAI Playground.
I want to look at the cost incurred by the GPT models. I see I can view the cost per day (e.g., see the screenshot below showing the cost incurred by the GPT models on Aug. 5).
Which timezone is used to determine what falls within a given day?
I created several Azure OpenAI resources in my Azure account. I deployed GPT models in each of the Azure OpenAI resources. I access them via the Azure OpenAI Playground. How can I configure each Azure OpenAI resource so that one cannot spend more than 50 USD monthly on it?
I tried adding a budget, but I couldn't find an option to put a hard limit on the expenses.
I created several Azure OpenAI resources in my Azure account via https://portal.azure.com. How can I view at once the cost incurred by all my Azure OpenAI resources for the current month or the last 30 days? I don't want to have to check the cost for each resource one by one (example), especially since cost management pages on https://portal.azure.com takes a while to load.
I use ganglia to monitor my computer cluster:
When I restart the Ganglia server, the gmond
daemon on the other servers in the cluster stop sending information to the Ganglia server. I have to run
sudo /etc/init.d/ganglia-monitor restart
on each server.
Can Ganglia's gmond be configured so that it doesn't need to be restarted if the Ganglia server is restarted?
I use:
- Ganglia Web Frontend version 3.6.1
- Ganglia Web Backend (gmetad) version 3.6.0
- RRDtool version 1.4.7.
- Ubuntu 14.04.3 LTS x64 server
I am trying to translate the SSH command:
ssh -N -L 1521:server1.com:1521 [email protected]
into PuTTY.
-N
: Do not execute a remote command. This is useful for just forwarding ports (protocol version 2 only).-L
[bind_address:]port:host:hostport: Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.
The command first SSH to [email protected]
, which in turn connect to server1
so that it fowarrds port 1521 (server behind NAT).
In a more abstract way, the command could be written as:
ssh -L MY_LOCAL_PORT:FOREIGN_ADDRESS:FOREIGN_PORT MYUSER@SSH_SERVER
I tried to write the following PuTTY command:
putty -N -D 1521 -P 1521 server2.com [email protected]
with:
-N
: suppress starting a shell or command.-D
: set up SOCKS-based dynamic port forwarding on a local port.-P
: specify a port number
according to the PuTTY manual.
However I get:
What could be the issue?
I disabled the firewall, and checked that putty.exe
allowed to communicate with Internet.
Using the PuTTY GUI, the tunnel works with the following configuration:
In OpenStack's web interface Horizon I can see:
Is there any way to have a more precise figure on how much RAM is being used?
The best I have found so far is to look at the page source:
but it only gives me a number rounded at the nearest percentage (here 98%). I would like to know precisely how many GB of RAM are used.
Is there any difference between performing an OpenStack soft reboot instance through the web interface Horizon and SSH into the instance and perform sudo reboot
?
By default, a tenant (1) can only create 10 security groups (2). Is there any reason to keep this number so low?
(1) http://docs.openstack.org/grizzly/openstack-compute/admin/content//users-and-projects.html:
Legacy terminology: earlier versions of OpenStack used the term "project" instead of "tenant".
(2) http://docs.openstack.org/user-guide-admin/content/cli_set_quotas.html:
$ nova quota-defaults
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
+-----------------------------+-------+
Usually, https://serverfault.com/a/268727/126950:
- snapshot = an exact capture of what a volume looked like at a particular moment in time, including all it's data.
- image = a total snapshot of a system (doesn't save the user data)
However, http://docs.openstack.org/folsom/openstack-ops/content/snapsnots.html says
In OpenStack, an instance snapshot is an image. The only difference between an image that you upload directly to glance and an image you create by snapshot is that an image created by snapshot has additional properties in the glance database.
So why does OpenStack distinguish images from snapshots?