# Manage stack

## Managing your stack

Mobingi Enterprise not only create application stacks, but also can easily manage them. By using Mobingi, user don't need to monitor public cloud console. Mobingi console fully cover that parts.

You can check instance information from『List My Stacks』--> Stack you want to check --> Instance ID.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhxURLH8H0IOhZmbdg%2F-LEhxjNCiTe0rEuMJGFE%2Fstack-list.png?alt=media&#x26;token=c7c84df3-d2ee-46e9-b04d-5db03b870a9c" alt=""></div>

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhxURLH8H0IOhZmbdg%2F-LEhxnHLruNx4s4M0MPi%2Fserver_detail.png?alt=media&#x26;token=05d88117-0729-4231-bad8-6e0c10c3bb8a" alt=""></div>

Additionally, by clicking『Scaling』, you can live update "Number of Spot Instacnces" and "Auto-Scale Range".

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhxURLH8H0IOhZmbdg%2F-LEhxu2L_H4gtXAitdHo%2Fscaling_server.png?alt=media&#x26;token=7a95ccb8-8074-4958-9734-6d33f94d0629" alt=""></div>

## Deploy code from Git repository

Deploy code is deadly fast. Click Code tab, then setup below.

* Enter Repo name [(What is Repo name?)](https://docs.mobingi.com/official/guide/reponame/jp)
* Branch name.
* If it's a Private repo, need to put Secret key [(Hot to create Deploy key?)](https://docs.mobingi.com/official/faq/deploykey/jp)
* If you don't use GitHub, you can upload files from "Upload".

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhy8H1mbo-bKGJe50p%2F-LEhyh6tUVHpZFuj8RHu%2Fcode_1.png?alt=media&#x26;token=34f96d60-d271-4e66-a8dd-4ac06abd0e2b" alt=""></div>

After Successfully connecting, by typing "git push" the code will automatically affect to every server in that stack.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhy8H1mbo-bKGJe50p%2F-LEhynbh_NpRxfw2a49E%2Fgit%20_push.png?alt=media&#x26;token=9bd74416-0032-421a-8a88-04dee3b05a51" alt=""></div>

## Monitoring

Mobingi Enterprise has so many useful features which help customers' operation. By clicking『List My Stacks』-->『Monitoring』tab, you can check the detail information of each instance.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhyxbLkfcGvKuf-ttT%2F-LEhzBgf3r7os0Eq0xX0%2Fmonitoring1.png?alt=media&#x26;token=6e450f6b-9cdd-43b1-900c-2d3337ba7ab6" alt=""></div>

## Logs

You can get Machine logs through Mobingi which is very good for auditing. Click『List My Stacks』-->『Logging』tab, then you can check Realtime Log and downloadable Lifetime Logs as well. The Lifetime Logs will be stored from the moment you deploy applications.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhyxbLkfcGvKuf-ttT%2F-LEhzOySfFI9FLiXYItX%2Flog1.png?alt=media&#x26;token=d9ad5581-5321-4973-a7c1-028f373bc12a" alt=""></div>

## Activity

Manager can see which user did what from『List My Stacks』-->『Activity』.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhyxbLkfcGvKuf-ttT%2F-LEhzYgbgCXzI8m56GzB%2Factivity.png?alt=media&#x26;token=ee04c835-3cf9-4c57-896f-7fadca864a10" alt=""></div>

## Settings

About detail setting, you can change from『List My Stacks』-->『Setting』.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhyxbLkfcGvKuf-ttT%2F-LEhzh8TQFm9imn0qPqv%2Fstack_setting1.png?alt=media&#x26;token=3413ea6a-1677-47e9-82fc-1390b51162e9" alt=""></div>

You can live update Environment Variables and keypairs. Also easily save application stacks' configurations.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhzv7wGOH8BL89ZF2V%2F-LEi-1-6prJtjbvEmsJr%2Fstack_setting2.png?alt=media&#x26;token=98b8697d-34f9-4947-8e7f-b787b5670315" alt=""></div>

By clicking once, you can launch new stacks with saved configurations.

![](https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhzv7wGOH8BL89ZF2V%2F-LEi-81K5Rn83X1bwPEO%2Fstack_setting3.png?alt=media\&token=480ed29d-6093-4515-a095-f461329013e3)

![](https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhzv7wGOH8BL89ZF2V%2F-LEi-CKLjYJ1Ardjj3JR%2Fstack_setting4.png?alt=media\&token=a6301c0f-22b2-4cdd-8a6c-9870344840d5)

If you want to delete application, just click『Delete Application』.

<div align="left"><img src="https://3864334791-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEMvLfZDvQFZLQc2YmY%2F-LEhzv7wGOH8BL89ZF2V%2F-LEi-IGzzMNyNmv9lcR6%2Fdelete.png?alt=media&#x26;token=738b9ee8-8719-41e8-adfd-ca357c928ca9" alt=""></div>
