Getting Started With Containers In Azure Deploy Manage And Secure Containerized Applications 1st Edition Shimon Ifrah instant download
Getting Started With Containers In Azure Deploy Manage And Secure Containerized Applications 1st Edition Shimon Ifrah instant download
https://ebookbell.com/product/getting-started-with-containers-in-
azure-deploy-manage-and-secure-containerized-applications-1st-
edition-shimon-ifrah-52850038
https://ebookbell.com/product/getting-started-with-containers-in-
azure-deploy-manage-and-secure-containerized-applications-shimon-
ifrah-11363600
https://ebookbell.com/product/getting-started-with-containers-in-
azure-deploy-secure-cloud-applications-using-terraform-2nd-edition-
shimon-ifrah-54542376
https://ebookbell.com/product/getting-started-with-containers-in-
google-cloud-platform-deploy-manage-and-secure-containerized-
applications-1st-ed-shimon-ifrah-22417632
https://ebookbell.com/product/getting-started-with-containerization-
reduce-the-operational-burden-on-your-system-by-automating-and-
managing-your-containers-hsu-10422194
Introducing Net 6 Getting Started With Blazor Maui Windows App Sdk
Desktop Development And Containers 1st Ed Nico Vermeir
https://ebookbell.com/product/introducing-net-6-getting-started-with-
blazor-maui-windows-app-sdk-desktop-development-and-containers-1st-ed-
nico-vermeir-38411572
https://ebookbell.com/product/getting-started-with-natural-language-
processing-final-release-1st-edition-ekaterina-kochmar-46078164
https://ebookbell.com/product/getting-started-with-uno-platform-and-
winui-3-handson-building-of-crossplatform-desktop-mobile-and-web-
applications-that-can-run-anywhere-1st-edition-andrew-
hoefling-46364362
https://ebookbell.com/product/getting-started-with-secure-embedded-
systems-alexandru-radovici-47255148
Getting Started With Visual Studio 2022 Learning And Implementing New
Features 2nd Dirk Strauss
https://ebookbell.com/product/getting-started-with-visual-
studio-2022-learning-and-implementing-new-features-2nd-dirk-
strauss-47378260
Getting Started
with Containers
in Azure
Deploy, Manage, and Secure Containerized
Applications
—
Shimon Ifrah
Getting Started with
Containers in Azure
Deploy, Manage, and Secure
Containerized Applications
Shimon Ifrah
Getting Started with Containers in Azure: Deploy, Manage, and Secure
Containerized Applications
Shimon Ifrah
Melbourne, VIC, Australia
iii
Table of Contents
iv
Table of Contents
v
Table of Contents
vi
Table of Contents
Use Azure Security Center and Secure Score to Protect Your Tenant��������������������������������������� 177
Security Center�������������������������������������������������������������������������������������������������������������������� 177
Secure Score����������������������������������������������������������������������������������������������������������������������� 182
Secure Your Containers with Azure Firewall and Network Security Groups (NSG)������������������� 184
Azure Firewall���������������������������������������������������������������������������������������������������������������������� 184
Network Security Groups (NSGs)����������������������������������������������������������������������������������������� 184
Summary���������������������������������������������������������������������������������������������������������������������������������� 193
vii
Table of Contents
viii
Table of Contents
Index��������������������������������������������������������������������������������������������������������������������� 295
ix
About the Author
Shimon Ifrah is an IT professional with years of experience
in the design, management, and deployment of information
technology systems and networks. In the last few years,
Shimon has been specializing in cloud computing and
containerized applications on Amazon AWS and other
public cloud providers. Shimon also holds more than twenty
vendor certificates from Microsoft, AWS, VMware, and Cisco.
During his career in the IT industry, he has worked for some
of the largest managed services and technology companies
in the world, helping them administer systems for the largest
enterprises. He is based out of Melbourne, Australia.
xi
About the Technical Reviewer
Samuel Rowe is a technologist who specializes in
application innovation and solving problems. He is an
agile advocate with extensive experience in DevOps and
cloud practices. He is currently working at Microsoft as a
solution architect, having previously worked for IBM and
Codeweavers.
xiii
Introduction
Back in early 2019, while finishing my book on deploying containers on AWS, I decided I
wanted to write a similar book about the same technology in Microsoft Azure.
In a multi-cloud world where companies use multiple cloud providers to run their
workload, locking yourself to one platform is not an ideal solution. Because most cloud
platforms offer similar services, transitioning between platforms is not hard if you
already have experience with one platform.
There is no doubt that Microsoft Azure is a great platform, and ignoring it can only
harm your career path to success. This book will fill in the gaps and give you a step-by-
step guide on getting started with Azure and deploying containerized applications on
Azure services.
Azure has a variety of cloud services that allow us to deploy containers, and in this
book I will cover each of them in great detail.
When I planned this book, I wanted to achieve two things:
In this book, you will not find pages filled with back-to-back code. Instead, you
will find chapters filled with technical information and explanations that will help you
understand and take actions. My detailed, easy to understand, step-by-step approach
will walk you through the labs without missing important information.
I hope you will find this book useful and helpful in growing your career and
knowledge base. This book is the second book in my “Deploy Containers” book series,
and I hope you like it.
The third book in the series is planned to be released in 2021.
I would like to take this opportunity to say thank you to my loving family for their
amazing support and love that they have given me during the writing stages.
I would also like to say thank you to the amazing team at Apress for believing in me
and giving me the opportunity to publish my books.
xv
CHAPTER 1
1
© Shimon Ifrah 2020
S. Ifrah, Getting Started with Containers in Azure, https://doi.org/10.1007/978-1-4842-5753-1_1
Chapter 1 Get Started with Microsoft Azure
Table 1-1 shows each service that is free for twelve months and its free monthly limit.
Linux and Windows Virtual 750 hours every month using B1S VM
Machines instance
Blob Storage 5 GB of LRS hot block storage
SQL Database 20 GB of storage
File Storage 5 GB of LRS file storage
Managed Disks 64 GB x 2
Azure Cosmos DB 5 GB and 400 requests units
Bandwidth 15 GB of outbound data transfer
Table 1-2 lists the main Azure products that are always free.
Table 1-2. Azure Products and Services That Are Always Free
Service Details
The main objective of the free services is getting you to explore, understand, and
learn how to use them at no cost, and it is recommended you take advantage of the free
services.
S
ign Up for Azure
To get started and sign up for Azure, you will need to provide a billing method, regardless
of whether you are using free services or not.
2
Chapter 1 Get Started with Microsoft Azure
The billing method is used if you use Azure services that are not included in the free offer.
To sign up for an Azure account, use the following URL: https://azure.microsoft.
com/en-us/free/. Fill in your details and follow the prompts. During the registration
process, you will be asked to verify your identity using one of the following two
verification methods.
3
Chapter 1 Get Started with Microsoft Azure
After the registration process is complete, you will be redirected to the Azure portal
and presented with an option to take a tour that will show you where everything is in the
portal.
If you are new to Microsoft Azure, I recommend you take the tour.
4
Chapter 1 Get Started with Microsoft Azure
Adding a user to an RBAC role on the subscription level will give them access to all
the resources in the subscription.
To add a user to an RBAC role, from the left menu on the Microsoft Azure portal click
on All Services, then click on Subscriptions, as shown in Figure 1-3.
From the Subscriptions page, select the Azure subscription you would like to assign
permissions to.
In my case, I only have one subscription, which is the Free Trial subscription, as
shown in Figure 1-4.
5
Chapter 1 Get Started with Microsoft Azure
From the Subscriptions page, I will click on the Access Control (IAM) menu on the
left, as shown in Figure 1-5.
6
Chapter 1 Get Started with Microsoft Azure
To assign permissions to a user, click on Add and select “Add role assignment” from
the drop-down menu, as shown in Figure 1-6.
On the Add Role Assignment page, I have the option to select the role I would like to
assign from the list.
Currently, Azure offers more than seventy assignment roles to select from.
The Owner role will give the user full administrative permissions for everything in
Azure, including access to resources. You should avoid assigning this role to too many
administrators, and Microsoft recommends that you have less than five administrators
with Owner permissions.
Figure 1-7 shows the Add Role Assignment page and part of the list of roles
available.
7
Chapter 1 Get Started with Microsoft Azure
After selecting the role, I have the option to assign it to the user or groups.
From the Select search box, search for the user you would like to assign the owner
role and click Save, as shown in Figure 1-8.
8
Chapter 1 Get Started with Microsoft Azure
Figure 1-8. Select user from the Add Role Assignment page
9
Chapter 1 Get Started with Microsoft Azure
When you open Azure Cloud Shell for the first time, it will ask you to select which
shell you would like to start with.
In my case, I will select Bash.
Figure 1-10 shows the Welcome to Azure Cloud Shell page.
Before we can start using Azure Cloud Shell, we need to create a storage account that
will be used to keep our data access sessions.
Figure 1-11 shows the storage account setup for Azure Cloud Shell.
10
Chapter 1 Get Started with Microsoft Azure
Figure 1-11. Create Azure file share for Azure Cloud Shell
After creating the storage account, you will be redirected Azure Cloud Shell, as
shown in Figure 1-12.
You will also notice that Bash Shell is being used.
11
Chapter 1 Get Started with Microsoft Azure
A
zure CLI
Azure CLI is a command-line tool that Microsoft designed to automate, manage, and
deploy Azure services quickly and effectively.
The tool can be installed on any platform, is preloaded into Azure Cloud Shell, and is
always running the latest version.
Azure CLI is also available as a Docker image that can be run inside a container;
to download the Azure CLI Docker image, please visit https://hub.docker.com/r/
microsoft/azure-cli/.
To download and install Azure CLI for Windows, MacOS, and Linux, please visit
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-
cli-latest.
To get started with Azure CLI inside Azure Cloud Shell, type the following command:
az -h
In Figure 1-13, you can see the Azure CLI Help menu and all the available commands.
az command action
In Figure 1-14, you can see an Azure CLI command that shows all the resources
available inside an Azure subscription.
13
Chapter 1 Get Started with Microsoft Azure
You can switch between the shells anytime, and all sessions’ information will be
saved automatically.
It is important to note that if you have processing running in the Bash sessions, that
information will continue running.
Figure 1-16 shows the confirmation screen when you switch between shells.
14
Chapter 1 Get Started with Microsoft Azure
To view all the available PowerShell modules in Azure Cloud Shell, type the following
command:
Get-module az*
You can access the editor in two ways; first, by using the following command:
code.
15
Chapter 1 Get Started with Microsoft Azure
The second option is by using the editor icon, available from the top menu.
Figure 1-18 shows the editor icon in Azure Cloud Shell. The editor is available from
both shells, PowerShell and Bash.
If you click on the editor icon or use the command to start it, you will see it in action,
as shown in Figure 1-19.
Once opened, you can start typing your code or paste it.
To create a new file, simply use the following command:
touch script.sh
The preceding command will create a Bash script, which we can load from the Files
menu on the left and then start writing code into it.
To run a script in Azure Cloud Shell, simply use the following command:
bash bashscript.sh
If you click on “Manage file share,” you will be redirected to the actual Azure file
share that holds your Azure Cloud Shell sessions.
Figure 1-21 shows the Azure file share that stores the Azure Cloud Shell sessions with
the following details:
17
Chapter 1 Get Started with Microsoft Azure
If you would like to check which version of PowerShell Azure Cloud Shell is running,
simply run the following command:
$PSVersionTable
As you can see in the output shown in Figure 1-22, Azure Cloud Shell runs
PowerShell Core version 6.2.3.
The operating system that runs Azure Cloud Shell is Linux Ubuntu.
18
Chapter 1 Get Started with Microsoft Azure
If your Azure account is compromised and broken into your data can be exposed and
exploited by malicious people.
Therefore, in this section I will show you methods that will help secure your Azure
Global Administrator account and your tenant in general.
19
Chapter 1 Get Started with Microsoft Azure
From the Azure Active Directory main page, click on Users, as shown in Figure 1-24.
From the Users menu, select your Global Administrator user and click on Multi-
Factor Authentication in the top-left menu, as shown in Figure 1-25.
After you click on the Multi-Factor Authentication link, you will be redirected to the
Azure Active Directory Multi-Factor Authentication page, where you can use the right-
hand menu to enable MFA.
Figure 1-26 shows the MFA page and that my account has MFA disabled.
20
Chapter 1 Get Started with Microsoft Azure
To enable MFA for my account, I need to click on Enable from the Quick Steps menu
on the right-hand side.
Figure 1-27 shows the Quick Steps menu where you enable MFA.
Note If your Azure account is not part of an Office 365 subscription and is a
Microsoft Account, please enable MFA from the Microsoft Account Security settings
page using the following URL:
https://account.microsoft.com/security/
21
Chapter 1 Get Started with Microsoft Azure
Microsoft strongly recommends you have less than five Global Administrator
accounts inside your tenant.
You should not give administrators permissions they don’t need, and always try to
give them the exact permissions warranted by their role.
To review and check who has Global Administrator permissions for your Azure
subscription, open Azure Cloud Shell and use the PowerShell experience.
From PowerShell, run the following command (Figure 1-28):
In Chapter 6, we will take a deep dive into Azure security best practices and how to
mitigate risks and threats.
22
Chapter 1 Get Started with Microsoft Azure
The core Microsoft Azure Container Services that we will cover in this book are:
This section will introduce each chapter, which will have more details.
23
Chapter 1 Get Started with Microsoft Azure
ACI also works with Web App for Containers, which uses Azure App Service to host
web applications in the Azure shared infrastructure.
With Web App for Containers, we can run web applications inside Linux or Windows
Containers.
In Chapter 3, we will deep dive into ACI and deploy containers.
24
Chapter 1 Get Started with Microsoft Azure
Basic
Standard
Premium
The main difference in the SKUs is the storage. However, the geo-replication option
is only available in the Premium SKU.
Sometimes it is better to use the Premium SKU instead of deploying multiple ACRs in
different regions.
Figure 1-29 shows the Azure Container Registry (ACR) pricing page and the three
SKUs (Basic, Standard, and Premium).
Prices in the figure are for an ACR registry in a Central US datacenter and in USD.
25
Chapter 1 Get Started with Microsoft Azure
Summary
In this chapter, we covered the ins and outs of setting up a Microsoft Azure subscription
and how to use the free $200 USD credit for thirty days.
We also learned how to get started and set up Azure Cloud Shell, a web-browser
command-line utility running inside a container and hosted in Azure.
In the next few chapters, we will use Azure Cloud Shell to deploy many of the Azure
Container services.
After setting up Azure Cloud Shell, we learned how to secure our Azure environment
using quick-win methods, and the main one that we explored was using MFA to secure
our Azure Global Administrators account. It is highly recommended you use MFA to
secure all of your Global Administrator accounts.
And in the last section of this chapter, we explored the following main Azure
Container services, which we will cover in this book:
Azure Kubernetes Services (AKS)
Azure Container Instances (ACI)
Azure Container Registry (ACR)
In our next chapter, we will deep dive into the world of Azure Container Register (ACR)
and use it to store Docker container images using Docker CLI.
We will learn how to push and pull Docker images to ACR and manage them using
Azure CLI, Azure Cloud Shell, and the Azure Portal.
26
CHAPTER 2
27
© Shimon Ifrah 2020
S. Ifrah, Getting Started with Containers in Azure, https://doi.org/10.1007/978-1-4842-5753-1_2
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
• Basic
• Standard
• Premium
Figure 2-1 shows the pricing details of all the plans available in ACR.
Most developers will find the basic tier enough to test various applications and code;
however, large businesses will probably opt for the Premium plan, which offers more
storage and global replications.
We can manage ACR using Azure CLI (with Azure Cloud Shell) or the Azure portal.
Because the underlying infrastructure is managed by Azure, our role in managing
ACR is limited and doesn’t require complex operation procedures.
To push and pull Docker images to and from ACR, we use the Docker CLI command-
line utility, which is great as it doesn’t require us to learn how to use another tool.
28
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
https://www.docker.com/products/docker-desktop
From the Docker Desktop page, click “Download Desktop for Mac and Windows,” as
shown in Figure 2-2, and follow the prompts.
30
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
On the Container Registries page, I click on “Add” to start the creation process, as
shown in Figure 2-4.
To create my first ACR, I will fill in the details, as shown in Figure 2-5, and as outlined
in the following list:
31
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
Figure 2-5 shows the Create Container Registry page with the details I used.
32
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
When the ACR is ready, it will show up on the Container Registries page, as shown in
Figure 2-6.
The following command will create an ACR called DeployRG with admin access
enabled in the Apps resource group and that uses the Basic SKU:
To view the newly created ACR, I will run the following command:
33
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
Copy all the details, and we will use them to log in and connect to ACR using the
Docker CLI.
34
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
35
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
Once the login has succeeded, I will tag a local image I have on my machine. In my
case, I have an Nginx image that I will tag.
Note To download the same Nginx image, I can use the following command:
docker pull nginx
docker tag nginx deployrg.azurecr.io/nginx
Once the image is tagged, I can use the following command, as shown in
Figure 2-9, to push the image to ACR:
docker push deployrg.azurecr.io/nginx
To view the image we just uploaded to ACR, perform the following steps:
36
Chapter 2 Store and Manage Docker Container Images on Azure Container Registry (ACR)
If I click on the image, I will see all the available tags that belong to the image. In my
case, and as shown in Figure 2-11, I have the “latest” tag available.
If I click on the action menu (…) on the left-hand side of the tag, I will see five options
that are available for me to use. I will not cover them now; however, using this menu, we
can deploy the image to ACI or to a web app.
37
Random documents with unrelated
content Scribd suggests to you:
VIEW FROM MT. LEIDY.
I was advised, however, that this was not the fact, and pinning my
faith to the good judgment of the guide, I made arrangements for a
fall hunt. Before reaching the terminal of the railroad journey I
chanced to meet some sportsmen who discussed the sport and
commented on the conditions existing in Jackson’s Hole. The
criticisms were by no means favorable, and various instances were
cited of parties who had been disappointed in their expectations. My
subsequent experience only served to convince me how dependent a
sportsman has become upon the services of a good guide.
The trip from St. Anthony to Jackson was without incident worth
relating, except at the start. The pack horses, which, during their
stay in town, had fared handsomely on oats and hay and been well
sheltered, did not look forward to a trip back into the bleak and
sterile mountains with the same pleasure that I did; their refractory
souls yearned for the comfortable quarters they were just leaving
with the same tenacity that the children of Israel in the wilderness
“longed for the fleshpots of Egypt,” but here the comparison ends,
for they had not a guide who was meek and gentle like Moses.
About a mile from St. Anthony the whole bunch turned off on a side
road and went back to their former quarters. After some delay they
were finally got in line again, and with the aid of a couple of
Mormons, who, for a consideration, agreed to help them for several
miles, we got the pack train properly started, and after that had no
further trouble with them.
The journey was a fairly long one, but it became more interesting as
we drew away from civilization and got closer to the place where we
intended to make permanent camp. After the first day we passed
the wide monotonous stretch of sage brush flats which lies between
St. Anthony and Victor; after that the landscape grew more
mountainous and wooded. The country became very picturesque as
we proceeded; every mountain presented a view which was a
panorama; every opening in the timber seemed a natural frame for
an entrancing picture; the atmosphere so clear and bracing gave fine
definition to objects in view; the winding river rushed fretting and
foaming between the rocks in the valley below; large clumps of
spruces clustered upon the mountain sides, and the rough crags
were powdered with snow and sometimes glistening with rills which
coursed down their rugged surfaces. After traveling along the Gros
Ventre River for a considerable distance we at last came in view of
Mt. Leidy, superbly situated between two rows of mountains on
either side of a pleasant valley, at the head of which that peak
stands. The ground was covered with a few inches of snow—enough
to make good hunting. We made an early camp and had plenty of
time to get everything arranged before it became dark. The location
was ideal; plenty of timber nearby; a fine stream of clear, cold water,
and good grazing for the horses. It was quite important to have a
good range for the stock, because there were eleven pack horses
and three riding horses—fourteen in all. To take care of these
required the services of a horse wrangler. I had three men, my
regular guide, Edward Sheffield; Charles Herdick, a Wyoming guide,
and Marcus Imo, who cooked and turned his hand to anything else
that had to be attended to.
The following day I went out with the guide to try my luck. We had
not traveled more than two miles before discovering a small herd of
elk. We circled around them sufficiently to size them up, but could
find no heads worth picking out. Our course was then changed, and
we hunted toward a high mountain north of Mt. Leidy. From this
point we obtained a fine view of the surrounding country, which I
carefully swept with my Seitz glasses in quest of game. Far off on a
distant ridge we finally saw some elk slowly moving out of the
timber into the open. Their brown shapes showed very distinctly
against the snow-covered hills, but, although there was a
considerable number in view, no good antlers were visible. My
strong glasses proved of very great service to me. With them I could
ascertain plainly what otherwise I would have had to guess at, and
they saved me many a long excursion over rough country to
determine the value of a set of antlers. My guide was quite as
anxious as myself that I should not have any trophies unworthy of a
sportsman’s ambition. The law allows one only two heads, and it is
necessary to take great pains to avoid making mistakes. I made up
my mind that I would go back empty-handed rather than pack out
antlers which would reflect discredit upon my skill. The guide was
particularly anxious that I should obtain specimens which would do
no injury to his reputation. I think I must have passed unfavorable
judgment upon twenty-five or thirty heads—for which the guide was
mainly responsible—before I finally secured my trophies. Any
number of bulls presented themselves, some of them quite easy
marks, only to be snubbed and turned down. Paris, in passing
judgment upon the goddesses to determine which was the most
beautiful, could not have been more critical or discriminating than
the guide. I doubt if the unsuccessful rivals of the bulls I finally
chose as worthy specimens were seriously disappointed.
One more instance, which will not only aid in proving the ease of
securing an indifferent specimen, but goes to show that when game
is too plentiful it is an actual handicap to the sportsman. I saw a fine
head across a gulch at a considerable distance. I fired and missed it
and the animal escaped beyond range. I crossed the gulch to
examine the spot where the bull had stood and followed his tracks to
see if he had been wounded, and if so, how badly. Although the
ground was covered with two feet of snow, yet I could discover no
signs of blood. While discussing the matter with the guide we
became conscious that we were not unperceived, for a great number
of elk began to move among the trees, having evidently “spotted”
us. We made at once for concealment and ran as fast as we could
through the deep snow to an open place toward which the herd was
heading.
By this time I had been about ten days in camp and was growing
quite accustomed to the life. Although the weather was quite cold,
at times going to eight or ten below zero at night, yet it often grew
warm enough during the day to thaw, but it was dry, light
atmosphere and always bracing. Every night for a brief interval we
were treated to a serenade from the coyotes, a ridiculous, wild and
unearthly chant, which became a positive nuisance when the dogs
undertook an accompaniment right at our ears. Occasionally a bull
elk, feeding during the full of the moon, would cause the cold
atmosphere to vibrate with his shrill whistle as he loped past the
camp. In all other respects we were entirely alone for the twenty-
two days I stayed in camp except one, when the game warden
dropped in to look at my license, and after a brief stay took his
departure. How different this was from most of the hunting in the
East, where the number of sportsmen has become so great as to
render the pastime almost as dangerous for the hunter as it is for
game. Particularly is this the case when “green sportsmen” persist in
shooting at anything that moves without first finding out what it is.
My guide expressed his surprise at the number of accidents which
occur every year in the Adirondacks through gross carelessness. He
remarked that he believed it would be best if one were hunting in
the Adirondacks and saw anything moving in the brush to shoot
without waiting to find out what it was, because the chances are
that it would be a man, and if you did not shoot him he would shoot
you. I was rather amused at this piece of grim humor, which is a
sample of what he generally had on tap.
We had hardly mounted the horses when we saw another bull with a
fine head about 250 yards away. I slid off my horse, and getting the
distance from the guide, I drew a coarse sight and fired as the
animal was going over a hill. We hurried over to the spot where the
bull had been and saw faint splotches of blood on the snow. As we
descended the hill the guide remarked he hoped we would not have
as long a chase after this one as we did after the bull we hunted so
long a few days previous. I replied that I was certain we would not.
“How do you know?” he asked. For answer I pointed to a lifeless
form just beyond lying among some spruce trees. As the guide
stepped alongside of me, where he could get a view, he expressed
his surprise at the luck I had had in getting two such fine heads in
so short an interval. It was barely half an hour since I had secured
my first trophy, and now I had a second one which we both
regarded as better than the first. The ball had struck back of the
shoulder a little above the middle of the body. The spread of this
head was a trifle larger than the first one I had shot; the antlers
were more solid, especially at the base. My hard hunting had been
rewarded. I had obtained inside of half an hour two heads as
handsome and large as any that it had ever been my good fortune
to secure. I felt like a school boy about to take a vacation, for I had
hunted faithfully for about eleven days and I promised myself a rest
when I had won out with the bulls.
For several days I took it easy; a large part of the time I sat in a
comfortable chair in camp and read novels and played cards. I also
managed to work up quite a small medical practice, my victims being
Sheffield, Charles Herdick and Marcus Imo, the cock and horse
wrangler. The remedies which some people of the far West prescribe
for their ailments are quite original and simple. One day when I was
starting out on horseback to hunt in company with Herdick, I noticed
that he had not saddled his horse. I asked him the reason. He
replied that he was not feeling well and wanted exercise. Anyone
familiar with hunting in Jackson’s Hole knows how often one has to
leave the horse to travel on foot over rough country through snow
and up slippery ascents for hundreds of feet.
Herdick evidently thought this was not enough exercise to keep him
in condition. Another time Imo had contracted a severe cold which I
wanted to prescribe for. He replied that it had come on without
anything and it would go off without anything. After some
persuasion he consented to take a good dose of quinine and a hot
drink before retiring. The next morning the cold had about
disappeared, but when Imo went out to round up the horses he had
great difficulty in hearing the bell on account of the quinine buzzing
in his ear, which confirmed his bad opinion of medicine.
After I had tired of loafing I hunted with the dogs, tracking cougars,
bobcats and lynx. Occasionally I would take a shot at a coyote to
pay it back for some of the unearthly serenades we had been
treated to at night. One day, while following the track of a lynx,
Herdick came across a No. 5 bear trap. He discovered it by noticing
some fresh elk meat near it. The trap was carefully concealed, and
had he been an inexperienced hunter or perhaps walking along
there at night he might have made discovery by stepping in it. It is
against the law to bait a trap with elk meat, and it should be
forbidden to set traps around indiscriminately where sportsmen are
licensed to hunt; the permission implying reasonable safety, which is
not the case when dangerous traps are set without proper
safeguards. We sprung the trap and went on. Some men, who are
acquainted with the danger arising from this source, always carry a
monkey-wrench when hunting or trapping. A steel trap which could
hold a silver-tip would inflict a terrible injury upon anyone who was
unfortunate enough to become entrapped, even if assistance were
promptly rendered, and assistance being remote, might cause a
painful, lingering death. I knew of a case where a trapper had set
two No. 5 bear traps, and upon his return found a large silver-tip in
one of them. Venturing rather close to the bear the enraged animal
made a sudden lunge at him, which the man evaded by stepping
back hurriedly. In doing so he accidentally fell and sprung the other
trap with his knee and was caught in that position. The man was
unable to get to his rifle to dispatch the bear, which was making
efforts to reach him. Being in uncomfortably close quarters to the
bear, and apprehensive of his safety, the trapper devised a clever
plan to dispose of his disagreeable neighbor. Fastening his knife to
the end of a long pole he repeatedly stabbed the bear until death
ensued. His companion, going to examine the traps, at last found
him almost dead with pain and released him.
GROS VENTRE RIVER.
Transcriber’s Note:
Obvious printer errors corrected silently.
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.
ebookbell.com