Skip to content

Commit

Permalink
Slack -> EdStem
Browse files Browse the repository at this point in the history
  • Loading branch information
wisebaldone committed Mar 26, 2024
1 parent 1ae16de commit a49eeeb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 58 deletions.
2 changes: 1 addition & 1 deletion practicals/week03/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ \section{Containerising our Todo Application}
}

\subsection{Creating a Practical Repository}
Navigate to the GitHub Classroom link for this practical provided by your tutor in Slack.
Navigate to the GitHub Classroom link for this practical provided by your tutor on edstem.
As with last week, this will create a new repository for you in the course organisation.
You can now clone this repository to your local machine or work directly in the browser with GitHub codespaces.
This repository will be populated with our solution to last week's practical exercise.
Expand Down
4 changes: 2 additions & 2 deletions practicals/week05/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ \section{Terraform in AWS Learner Labs}
The console can be used to verify that Terraform has correctly provisioned resources.

\begin{enumerate}
\item Using the GitHub Classroom link for this practical provided by your tutor in Slack,
\item Using the GitHub Classroom link for this practical provided by your tutor on edstem,
create a repository to work within.
\item Clone the repository or open an environment in GitHub CodeSpaces%
\footnote{If you are using CodeSpaces, you will need to reinstall Terraform using the same steps as last week.}
Expand Down Expand Up @@ -564,7 +564,7 @@ \section{Hosting TaskOverflow Images}
\paragraph{Getting Started}

\begin{enumerate}
\item Using the GitHub Classroom link for this practical provided by your tutor in Slack, create a repository to work within.
\item Using the GitHub Classroom link for this practical provided by your tutor on edstem, create a repository to work within.
\item Install Terraform if not already installed, as it will be required again this week.
\item Start your learner lab and copy the AWS Learner Lab credentials into a credentials file in the root of the repository.
\end{enumerate}
Expand Down
55 changes: 1 addition & 54 deletions practicals/week06/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ \section{Load Balancing TaskOverflow}

\paragraph{Getting Started}
\begin{enumerate}
\item Using the GitHub Classroom link for this practical provided by your tutor in Slack,
\item Using the GitHub Classroom link for this practical provided by your tutor on edstem,
create a repository to work within.
\item Install Terraform if not already installed, as it will be required again this week.
\item Start your learner lab and copy the AWS Learner Lab credentials into a credentials file in the root of the repository.
Expand Down Expand Up @@ -386,59 +386,6 @@ \subsection{Producing Load with k6}\label{k6}

\end{code}

\subsubsection{EC2 Auto Scaling}

With all the pieces together we can now see if our efforts have paid off.
While the above k6 code is running, let's check the EC2 console and see what actions our autoscaling policy has taken.
In the EC2 console scroll down the left hand menu and select \texttt{Auto Scaling Groups}.

\begin{figure}[H]
\begin{center}
\includegraphics[scale=0.5]{images/ec2_1}
\end{center}
\end{figure}

You will be presented with our todo group, which states the current instances and the desired minimum and maximum number of instances.
Select the name of the group.

\begin{figure}[H]
\begin{center}
\includegraphics[width=\textwidth]{images/ec2_3}
\end{center}
\end{figure}

In this panel we are presented with much of the same information, but what we want is the \texttt{Automatic scaling} tab.

\begin{figure}[H]
\begin{center}
\includegraphics[width=\textwidth]{images/ec2_4}
\end{center}
\end{figure}

In this tab our two policies are displayed and we can see the configuration of both.

\begin{figure}[H]
\begin{center}
\includegraphics[width=\textwidth]{images/ec2_5}
\end{center}
\end{figure}

In the \texttt{Activity} tab we can see the actions performed by our policies, whether it be a scale up or a scale down.

\begin{figure}[H]
\begin{center}
\includegraphics[width=\textwidth]{images/ec2_6}
\end{center}
\end{figure}

If we head over to CloudWatch alarms, we can see the alarms that are the triggers for our policies.

\begin{figure}[H]
\begin{center}
\includegraphics[width=\textwidth]{images/ec2_7}
\end{center}
\end{figure}

\subsubsection{ECS Auto Scaling}

With all the pieces together we can now see if our efforts have paid off.
Expand Down
2 changes: 1 addition & 1 deletion practicals/week08/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ \section{Watchtower}

\paragraph{Getting Started}
\begin{enumerate}
\item Using the GitHub Classroom link for this practical, provided by your tutor in Slack, create a repository to work within.
\item Using the GitHub Classroom link for this practical, provided by your tutor on edstem, create a repository to work within.
\item Install Terraform if not already installed, as it will be required again this week.
\item Start your learner lab and copy the AWS Learner Lab credentials into a credentials file in the root of the repository.
\end{enumerate}
Expand Down

0 comments on commit a49eeeb

Please sign in to comment.